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 1009. K-based Numbers

I think the sample output is wrong.Who can explain to me?Thanks
Posted by semiconductor 28 Apr 2005 18:12
I think the correct answer for the sample input is 89.
Re: I think the sample output is wrong.Who can explain to me?Thanks
Posted by Kit 28 Apr 2005 19:17
Two-digit decimal number can't have two zeros. This numbers: 10, 11, 12, ..., 98, 99. Then, we have 90 numbers.
Re: I think the sample output is wrong.Who can explain to me?Thanks
Posted by semiconductor 29 Apr 2005 09:14
Thanks Kit, I mistakenly reversed the meaning of N && K