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

I didn't understand...
Posted by Yashar Abbasov 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.
Re: I didn't understand...
Posted by Mace(Lviv Polytechniс NU) 27 Oct 2007 22:12
Just solve this system:
k1*x1==k2*x2==k3*x3
x1+x2+x3==1000
Re: I didn't understand...
Posted by svr 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
Re: I didn't understand...
Posted by Wang Fei 12 Feb 2008 18:24
but isn't it to print k1*x1?
Re: I didn't understand...
Posted by Wang Fei 12 Feb 2008 18:33
oh,i understand~~