408195: GYM103049 E Endgame
Memory Limit:1024 MB
Time Limit:3 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
E. Endgametime limit per test3 secondsmemory limit per test1024 megabytesinputstandard inputoutputstandard outputExamplesInput
2 2 1 1 2 1 0 0 -1Output
Bob winsInput
3 2 3 1 3 -2 1 1 1 1 0Output
tie 3 2Input
4 1 1 3 4 0 3 2 0 0 -3 -2 0Output
Alice wins