ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1555. Find the Treasure!

When can the result be 'Draw' ?
Posted by Radi Muhammad Reza 28 Jul 2012 00:38
if both players get stuck and after shooting their rockets still stuck?

or is infinite game scenario like 'stalemate' is possible? like

2
......
.*..2.
......
......
.1....
......

Here, if 1 makes turn 2 wins by killing; same goes for 2. now, would they infinitely 'pass moves' to lead it to a 'Draw' / stalemate? or the ans is 'Lose'?

Please, help me understand the problem?
Thanks in Advance.
Re: When can the result be 'Draw' ?
Posted by Neofit 28 Jul 2012 08:31
if (state[IND(start)] == 'N') printf("Draw\n");
Re: When can the result be 'Draw' ?
Posted by Radi Muhammad Reza 28 Jul 2012 13:38
Sorry, didn't understand you :( Can you give a bit more detail?
Re: When can the result be 'Draw' ?
Posted by Erop [USU] 29 Jul 2012 00:18
they will infinitely pass moves, so answer is Draw