PROBLEM IN UNDERSTANDING PROPAGATING TREE(383C)

Revision en1, by javacoder1, 2015-10-23 12:55:46

I am having problem understanding how we are utilising Binary Indexed tree to solve the problem.The DFS part is clear as well as the notion of levels. But i am unable to understand how BIT is used. http://codeforces.net/contest/383/problem/C link.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English javacoder1 2015-10-23 12:55:46 297 Initial revision (published)