http://www.spoj.com/problems/HEAPULM/
how to solve this problem?? I tried a lot but i didn't get any idea how to solve this..
Thanks in Advance :)
A Hard segment tree problem(help)
http://www.spoj.com/problems/HEAPULM/
how to solve this problem?? I tried a lot but i didn't get any idea how to solve this..
Thanks in Advance :)