This is regarding the recent cook-off and the problem is when I submitted the exact same solution of an accepted code in the cook-off I got wrong answer. I don’t understand what’s wrong or later they updated the testcases? Pls clarify.
The solution which got accepted in cook-off: https://www.codechef.com/viewsolution/35786328
The solution which is giving wrong answer for the same above code:https://www.codechef.com/viewsolution/35864790