Can anyone help with this problem : https://codeforces.me/problemset/problem/242/E↵
↵
I'm trying to use Segment tree. but there is Presentation Error↵
↵
This is my code : https://ideone.com/FiMb2o↵
↵
I'm trying to use Segment tree. but there is Presentation Error↵
↵
This is my code : https://ideone.com/FiMb2o↵