Problem — New Year Tree

Revision en2, by i_love_emilia_clarke, 2016-09-19 18:18:52

Hi there, i am stuck at the problem Codeforces Eductional Round 6 I read the tutorial and tried implementing the same, here is my Code. I think the problem is with the lazy propagation, please try to find the mistake.

Tags lazy propagation, segment tree, #trees

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English i_love_emilia_clarke 2016-09-19 18:18:52 4 Tiny change: 'e, i am stick at the ' -> 'e, i am stuck at the '
en1 English i_love_emilia_clarke 2016-09-19 18:18:13 316 Initial revision (published)