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 1048. Superlong Sums

Memory
Posted by Varun Sharma 18 Apr 2009 14:44
Hi,

I have got Accepted for this problem however my program takes around 11 MB of memory. I just saw that some people did it with using as little as 125 KB ? Does any one has an idea as to how to get it that low ? I think, they are not even storing numbers in an array or something ! Just calculating the result on the fly.