Need help with (easy) segment tree.
Разница между en2 и en3, 44 символ(ов) изменены
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.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский ChairMan 2021-09-27 17:59:59 44
en2 Английский 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 Английский ChairMan 2021-09-27 17:46:31 393 Initial revision (published)