I tried this program on my compiler by taking many test cases and it showed correct answer but I don’t know why is it getting wrong answer here…??
Please help.
Here is the link to the solution -> http://www.codechef.com/viewsolution/3115810
I tried this program on my compiler by taking many test cases and it showed correct answer but I don’t know why is it getting wrong answer here…??
Please help.
Here is the link to the solution -> http://www.codechef.com/viewsolution/3115810