Where i got wrong? (REC09A)

problem: https://www.codechef.com/problems/REC09A
sol: https://www.codechef.com/viewsolution/27912414

This test case:
3 20
4 5 6
Because of line 32 it prints NO two times. Correct it

1 Like