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

Could someone give some extra tests,please...Thanks!
Posted by Vladimir Milenov Vasilev 19 Mar 2002 14:42
Re: Could someone give some extra tests,please...Thanks!
Posted by Blue cat 19 Mar 2002 15:00
input:

-10000 -10000
10000

output:

0.00
0 0
Thank you..I am so stupid printf("0\n") insted of printf("0.00\n") :)!
Posted by Vladimir Milenov Vasilev 19 Mar 2002 18:01
Re: Could someone give some extra tests,please...Thanks!
Posted by ECUST kinglions 28 Apr 2002 05:15
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.
Re: Could someone give some extra tests,please...Thanks!
Posted by TheDreamCatcher 22 Aug 2011 08:04
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%