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

Can anyone please tell me in tabular form what is are the values of answers for the above values. My algorithm is almost right and it is calculating accurately as far as I know but it is always responding No on test # 2. Please help!!! I am stuck and dissappointed.... :(
1 10 -> 9
2 10 -> 90
3 10 -> 891
4 10 -> 8829
5 10 -> 87480
6 10 -> 866781
7 10 -> 8588349
8 10 -> 85096170
...
88 10 -> 4073204239463162109734811048211023806979858806092557057802513502380259034152215057201989
 how for k=3 it should be 90