Need help with (easy) segment tree.
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).
Thanks.
CodeChef Starters 136 Solution Discussion