[Tutor] Memroy Error - how to manage large data sets?

Alan Gauld alan.gauld at btinternet.com
Tue Jul 29 19:11:25 CEST 2008


"kinuthiA muchanE" <muchanek at gmail.com> wrote

>> Umm, not instantly on my PC... 1 million took 5 minutes,
>> I've no idea how long 100 million would take!
> I think the question is to calculate the sum of all even numbers in 
> the
> Fibonacci series which do not exceed a million, not the millionth 
> term.

That's not what the OP requested.

> Number 25 on Project Euler which asks for first term in the 
> Fibonacci
> series to contain 1000 digits, is the term-wise question ;)

Assuming the OP is using that problerm set then it looks like
he misinterpreted the problem. But the problem he asked us to
solve was adding every other number up to 2 million entries...

Alan G. 




More information about the Tutor mailing list