I'm getting wrong answer on test 10 here's my submission https://codeforces.net/problemset/submission/2/252596846 If someone could at least give me a simple test that will "hack" my submission so at least i could follow it I can't even read the 50 lines that getting wrong answer on test case 10. Thanks in advance.
I believe you're not handling this case: when a user reaches the winner score in the middle of the game but isn't the actual winner, you're announcing him as the winner
Could you give me an example e.g a test case
you should have used i.e
6
a 5
a 5
b 10
b 1
a 1
b -1
My code output is b it sould be a right? Oh i understand now i announce the one as the winner as soon as he hit the score and not calculate if he loses score after I will work on it thanks alot .
thank you for test case