i am getting wrong answer for this..my test cases work perfectly...i used segmented tree concept...its been 3 days i am behind the same problem....pls help...thanks
my solution is here http://www.codechef.com/viewsolution/3443852
i am getting wrong answer for this..my test cases work perfectly...i used segmented tree concept...its been 3 days i am behind the same problem....pls help...thanks
my solution is here http://www.codechef.com/viewsolution/3443852