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 1001. Reverse Root

How is this posible?
Posted by cNoNim 10 Feb 2010 03:44
http://acm.timus.ru/rating.aspx?space=1&num=1001&count=10
solution of the problem requires an array of 128 * 1024 elements
and an element of the array must store 13 digits, ie double, whose size is 8 bytes.
128 * 1024 * 8 = 1MB of memory
how to solve the problem using 730Kb or less?
Re: How is this posible?
Posted by cNoNim 10 Feb 2010 03:53
execution time depends on at what time starts the test?
ie of server load?
Re: How is this posible?
Posted by Alex 28 Feb 2010 20:17
Try to use the array of chars:)