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 1087. The Time to Take Stones

IMHO this problem require to rejudge
Posted by sahand 28 Mar 2008 13:08
(excuesme for my bad english)
if the test like this:
5 3
2 4 5
correct ans is: 2
because:
stones:-------0-1-2-3-4-5
winner player:1-0-2-0-2-2 (0 for unknown position)
but AC solution returns 1
Re: IMHO this problem require to rejudge
Posted by yangqiang 25 Mar 2009 13:30
the numbers of the second line are not the positions of the stones,but the numbers of stones you can take each time

Edited by author 25.03.2009 13:31