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 1435. Financial Error

Dembel {AESC USU} HELP ME! [5] // Problem 1435. Financial Error 7 Dec 2006 13:56
I got WA#4. why?
Please, Give me some tests.

Edited by author 07.12.2006 14:06
Dembel {AESC USU} it's true? [4] // Problem 1435. Financial Error 7 Dec 2006 15:03
Input
1
1
10
Output
Unrecoverable error.
Sandro (USU) Re: it's true? [3] // Problem 1435. Financial Error 11 Dec 2006 18:57
Yes. It is true. But try this test:
2
34
23
66

Answer:
Error in record #1. Correct number is: 43.
Dembel {AESC USU} why? [2] // Problem 1435. Financial Error 12 Dec 2006 23:51
I think
Unrecoverable error.

because 34+32=43+23=66.

Edited by author 13.12.2006 00:05
Sandro (USU) Re: why? [1] // Problem 1435. Financial Error 13 Dec 2006 00:57
...If such number doesn't exist, then you should output the line "Unrecoverable error." ...

If several numbers exist, any one will be OK.
Dembel {AESC USU} Re: why? // Problem 1435. Financial Error 15 Dec 2006 15:57
Thanks. I got AC.
I can't read the Problem.