i_love_phuong_loan's blog

By i_love_phuong_loan, history, 6 weeks ago, In English,

The value of a node is the product of all the node in its subtree. So how do you update all the parent node when you update the child node ? The original problem is http://codeforces.com/gym/101466/problem/K.

Read more »

 
 
 
 
  • Vote: I like it  
  • +8
  • Vote: I do not like it