Please tell me why I am getting a runtime error on this code.I have implemented the solution as per the editorial.Any help would be appreciated.Here is the link to my solution
http://www.codechef.com/viewsolution/5462682
Please tell me why I am getting a runtime error on this code.I have implemented the solution as per the editorial.Any help would be appreciated.Here is the link to my solution
http://www.codechef.com/viewsolution/5462682