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 1701. Ostap and Partners

Tell me why
Posted by yuyan 24 Apr 2009 12:52
Why the input of
3 2
1 0 871
1 2 903

Answer is "Impossible after 2 statements"?
I think it is possible
We can guess:
0:   100
1:   971
2:   68
Re: Tell me why
Posted by Alex Tolstov (Vologda STU) 24 Apr 2009 13:14
it's impossible because value of Vassily's wage always equals 0.

0: 0
1: 871
2: -32 (WRONG)
Re: Tell me why
Posted by yuyan 24 Apr 2009 17:59
I see!
Thank you very much!
Re: Tell me why
Posted by Muhabbat 24 Oct 2009 12:42
thank you very much Alex !!!