WA in CHEALG

Hii, Thank you for reviweing.
Here is the question :- https://www.codechef.com/LTIME79B/problems/CHEALG ( december lunchtime )
Here is my solution link : https://www.codechef.com/viewsolution/28595282

Now, I don’t know why I got wrong answer because it worked in some of the test cases that I made,
So please, help me to find where I went wrong.

The outputs are supposed to be YES and NO, not Yes and No :slight_smile:

Great, at this level I missed it.
Never Mind.
Thanks @ssjgz .

1 Like