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!

Please explaine the sample.
Posted by caoqinxiang 11 Jan 2008 08:17
I cannot understand why the answer is win 5 and lose 1.I think it should be win 3 and lose 3.
Re: Please explaine the sample.
Posted by LX&R Bacherikov [KNU] 11 Jul 2008 14:40
Sample 1: we count turns of both players.
Sample 2: the first player can't win and he wants to minimize the number of turns. So he makes suicide.