Is there any way to get the test cases for which this problem is being checked?
here is my solution in java:
http://www.codechef.com/viewsolution/5358955
I have applied the same logic as given in the editorial but still my submission is giving wrong answer.
Can anyone give me the test case for which my program is giving Wrong Answer?