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

Hints
Posted by Marius Žilėnas 23 Oct 2013 18:04
1) Use reccurent formula, but do no recursion,
and
2) Use BigInteger for the result

Good luck:)