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 1421. Credit Operations

Checker is Wrong
Posted by MYV 25 Jul 2008 21:01
code

....
cout << "YES\n100 55 100 12\n0 70 87 0\n0 95 93 0\n93 100 66 0";
....
take WA on test #2

and code
....
cout << "YES\n0 0 255 12\n0 66 91 0\n0 188 0 0\n193 66 0 0";
...
take WA on test #1.

"If the problem has several solutions, you should output any of them." But answer for:
YES
0 0 255 12
0 66 91 0
0 188 0 0
193 66 0 0

for test #1 (test in  example) is not accepted.
Re: Checker is Wrong
Posted by Sandro (USU) 25 Jul 2008 23:57
"Amount of any credit is an integer number between 0 and 100". Sure, your answer for test#1 is incorrect (numbers 255, 188 and 193).
Re: Checker is Wrong
Posted by MYV 26 Jul 2008 15:41
thank you :)