Where i got wrong? (REC09A)

problem: REC09A Problem - CodeChef
sol: CodeChef: Practical coding for everyone

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

1 Like