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 1023. Buttons

Is it impossible that output the "0"?
Posted by XiangGuangTe 17 Apr 2004 11:45
K - 1 always guarantees win to second player.
Posted by TECTOBOP 17 Apr 2004 16:18
Re: K - 1 always guarantees win to second player.
Posted by Vovka 22 Oct 2004 16:07
No, because for example k=2, answer l=1 doesn't satisfy condition 2<=l<k
Re: K - 1 always guarantees win to second player.
Posted by Gleb Grenkin 15 Aug 2005 10:05
To Vovka:

Look at problem constraints:
K >= 3.
Re: Is it impossible that output the "0"?
Posted by LiuKe 12 Jun 2007 15:41
I think so.
Because N-1 could always be the right answer,but I don't know why I got wa #11
Re: Is it impossible that output the "0"?
Posted by AlexF [USTU] 12 Jun 2007 18:28
n-1 is the right answer, but the task want you to choose the minimal from all the answers
Re: Is it impossible that output the "0"?
Posted by shirin 9 Aug 2011 03:56
thanx!