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 1582. Bookmakers

Yashar Abbasov I didn't understand... [4] // Problem 1582. Bookmakers 27 Oct 2007 18:31
Hi. Sorry can you explain me the second sample test.

1.25 10.0 5.75
?

How much money has he put for each of coefficients.
Mace(Lviv Polytechniс NU) Re: I didn't understand... [3] // Problem 1582. Bookmakers 27 Oct 2007 22:12
Just solve this system:
k1*x1==k2*x2==k3*x3
x1+x2+x3==1000
svr Re: I didn't understand... // Problem 1582. Bookmakers 27 Oct 2007 22:21
Man interested why so.
Simply if examply k1*x1>max(k2*x2,k3*x3) we will lost
in case of mistake with first result.

Edited by author 27.10.2007 22:22

Edited by author 27.10.2007 22:23
Wang Fei Re: I didn't understand... // Problem 1582. Bookmakers 12 Feb 2008 18:24
but isn't it to print k1*x1?
Wang Fei Re: I didn't understand... // Problem 1582. Bookmakers 12 Feb 2008 18:33
oh,i understand~~