@iscsi

i got WIN as answer

and i think it is correct…any other test case??

What about this one?

1

11111111110000000000011000

@iscsi WIN

i think its correct as both score becomes 10 and now we need 2 consecutive wins for a player to win

any other test case??

No this is LOSE, because the scores after 10:10

10:11

11:11

12:11

12:12

12:13

12:14

This is the first time when someone leads by two point.

1 Like

constraint of this problem says that 1<=|s|<=100.

so, if |s|=1, how we will decide the winner?