Please have a look at this code of mine!

my soln gives wrong ans to the problem: Contest Page | CodeChef

my code: code.txt - Google Drive

Consider the test input:

1
10
1 1 1 1 1 1 1 1 1 1
1 Like

Brilliant ! Allon-sy ! Geronimo !

1 Like