https://www.codechef.com/LRNDSA01/problems/LAPIN

please help me out i am getting WA
https://www.codechef.com/viewsolution/31267036
here is my submission please help me out

First problem: you should be outputting YES and NO, not Yes and No :slight_smile:

Second problem (for after you’ve fixed the first): consider the testcase:

1
aaaa
3 Likes

Thanks done !!!

1 Like

Thankyou :smile: