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

One question
Posted by Marius Dumitran 13 Mar 2002 16:46
i didn't start to rezolve the problem seems easy but i have a q.what
will the program show for
7 1
2
?????.if k1!=1,k2!=1...............,kn!=1 it might not have a winner
Re: One question
Posted by PSV 21 Oct 2006 02:22
Too late :) but my AC prog answer is 1
Re: One question
Posted by Izual 28 Mar 2007 11:20
See this:
It is guaranteed that it is possible to make next move irrespective to already made moves.
Your test is wrong ;)