Hello everyone. I started to learn segment tree and i choose codeforces EDU section's Segment Tree problems. I need help for (https://mirror.codeforces.com/edu/course/2/lesson/4/3/practice/contest/274545/problem/E) problem. Here is my solution: https://mirror.codeforces.com/edu/course/2/lesson/4/3/practice/contest/274545/submission/338162999
can you help me to fix this.
UPD: fixed. Thanks all.



