problem: https://www.codechef.com/COOK101B/problems/CAMPON
Running perfectly in my compiler but during submission showing Wrong answer.
Here is the link of the solution:
https://www.codechef.com/viewsolution/22073393
problem: https://www.codechef.com/COOK101B/problems/CAMPON
Running perfectly in my compiler but during submission showing Wrong answer.
Here is the link of the solution:
https://www.codechef.com/viewsolution/22073393
I guess it is because it is not sure that the {day, problems solved} will be in ascending order only (which you have assumed).