PROBLEM IN UNDERSTANDING PROPAGATING TREE(383C)

Revision en1, by javacoder1, 2015-10-23 12:57:07

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://mirror.codeforces.com/contest/383/problem/C link.

History

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