I am getting WA…I have coded my solution as given in editorial still didn’t get AC
here is question link…click for question
here is my solution…My solution
here is Editorial link…Editorial
I have solved this question at spoj here my solution…which actually based on same concept BIT range update and point query …
why this solution for this problemgive at WA at codechef…
Happy Coding