Piece of cake wrong answer


I don’t know why codechef is giving wrong answer when all my cases are working.
Is there any corner case which I might be missing ?

YES should be in caps. Here is your accepted code.

1 Like

Print “YES” instead of “Yes” :slight_smile:

Oh shit. Costed me 2 wrong answers.
Thanks man

Welcome man !!! Always try to copy any text that needs to be printed :wink:


Could some one please help me out regarding this.Why isn’t my solution not accepted even though its correct for all the test cases I have knowledge of?!