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

Could anyone tell me how to solve this problem in 0,02 sec?
Posted by Tomasz Klos 8 Feb 2002 04:09
That's esay !
Posted by Nazarov Denis (nsc2001@rambler.ru) 8 Feb 2002 16:14
>
Could you give me more details?
Posted by Tomasz Klos 8 Feb 2002 19:11
> >
Of course I can(+)
Posted by Nazarov Denis (nsc2001@rambler.ru) 8 Feb 2002 21:05
If L=a then the second player can take such numbers b(1<=b<=a) of
buttons, that ((first_player_take)+b)=(a+1).
Thanks
Posted by Tomasz Klos 9 Feb 2002 15:33
Thank you for the idea
Posted by VladG 20 Dec 2002 20:42
> If L=a then the second player can take such numbers b(1<=b<=a) of
> buttons, that ((first_player_take)+b)=(a+1).