Guys..i am trying to solve this question and i have checked for many testcases but i can't figure out where my code is failing exactly..any idea??
Here is a link to my solution : http://www.codechef.com/viewsolution/4569968
Guys..i am trying to solve this question and i have checked for many testcases but i can't figure out where my code is failing exactly..any idea??
Here is a link to my solution : http://www.codechef.com/viewsolution/4569968