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 1200. Horns and Hoofs

Vladimir Milenov Vasilev Could someone give some extra tests,please...Thanks! [4] // Problem 1200. Horns and Hoofs 19 Mar 2002 14:42
input:

-10000 -10000
10000

output:

0.00
0 0
input:

-10000 -10000
10000

output:

0.00
0 0

I think your test data is wrong, Because K>=1, means you must produce
at least one.
ECUST kinglions wrote 28 April 2002 05:15
I think your test data is wrong, Because K>=1, means you must produce
at least one.
You are wrong! "total amount of produced goods must NOT EXCEED K!!!"
It means that A+B<=K. 0+0<=K 100%