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 1013. K-based Numbers. Version 3

[Hint] How to save memory
Posted by Nguyen Khac Tung 12 Mar 2011 06:46
Look at your formula again. Actually, you only need the results for F[n-1,..] to calculate F[n,..] . Use variable to store them temporarily
Re: [Hint] How to save memory
Posted by CodeChomper 29 Apr 2011 19:55
thx.