Need help with (easy) segment tree.

Revision en2, by ChairMan, 2021-09-27 17:53:42

Hi .. so i've been solving this problem problem but it's still gives me a WA can someone please tell me what's wrong with my code Code? (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)