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 1511. Fiscal Operations

Some clarification please..
Posted by Lomir 18 Jan 2007 18:48
"Each digit of the number should be corrected separately. A correction procedure means a replacing an erroneous digit with a correct one."
So i can correct only one digit in each column (position)? Or any digits that i want?
What is the coreect answer for:
9
1
1

-1 or 9?

P.S. Maybe somebody has some clues on Test 6?

Edited by author 18.01.2007 18:48
Re: Some clarification please..
Posted by TheBeet 31 Jan 2007 12:05
It must be 9
9 --> 8   cost 1
1 --> 1   cost 0
1 --> 9   cost 8

No leading zero

total cost is 9