I was not able to solve this problem during contest, but this is my CSEQ code
→ iaqmIp - Online C++ Compiler & Debugging Tool - Ideone.com
codechef solution link → CodeChef: Practical coding for everyone
I cant figure out why there is error in program.
Can anyone please help me, as, this is not getting accepted now ?
Thanks.