Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

Need help with (easy) segment tree.
Difference between en2 and en3, changed 44 character(s)
Hi .. so i've been solving this problem [problem](https://codeforces.com/edu/course/2/lesson/5/2/practice/contest/279653/problem/D) but it's still gives me a WA can someone please tell me what's wrong with my code [Code](https://pastebin.com/VeB3RBMaG3q9EVEy)? (my code is readeable so it won't be hard for someone who know segment tree to find an error). The WA is in the sample test.

Thanks.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English ChairMan 2021-09-27 17:59:59 44
en2 English ChairMan 2021-09-27 17:53:42 30 Tiny change: 'an error).\n\nThank' -> 'an error). The WA is in the sample test.\n\nThank'
en1 English ChairMan 2021-09-27 17:46:31 393 Initial revision (published)