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 1012. K-based Numbers. Version 2

why I wa test 4?
Posted by liusiqi 31 May 2011 19:45
I used high-precision and recursion...
but I get WA at test 4....
but if I input 170 10,the answer on my local is correct...
please someone give me a test case to test my program?
Re: why I wa test 4?
Posted by liusiqi 1 Jun 2011 06:02
sorry,I know why...It's the high-percision I designed is wrong...

I store each 3 digit of the orginal number in a int,but when I output the number,I forgot to insert 0 before the int which digit is less than 3.

sorry for my english...