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

Hrayr wrong answer on test #2 [1] // Problem 1009. K-based Numbers 8 May 2011 17:33
I think l have solved this problem,but i got WA on test #2.
Moytrage Re: wrong answer on test #2 // Problem 1009. K-based Numbers 11 Jan 2014 22:45
For my solution replacing integer 32-bit with 64-bit integer helped, and all tests passed. There is a 32-bit integer overflow in test #2.