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.