Test case for which my code fails? [INOI1401]

Can anyone tell me a test case where my code https://www.codechef.com/viewsolution/28906537 to the problem https://www.codechef.com/INOIPRAC/problems/INOI1401/ fails? I can’t seem to find any.

1 Like

Wow… and I thought I was being smart by coming up with this solution. Turns out it was wrong!