I had heard of Project Euler long ago, but completely forgotten it. It
looks fun!! Thanks for reminding me of it.

Keith


On Tue, Jan 7, 2014 at 5:58 AM, eryksun <eryk...@gmail.com> wrote:

> On Tue, Jan 7, 2014 at 4:49 AM, Jorge L. <dalv...@gmail.com> wrote:
> >
> > When i test that script against 600851475143 I get the following error
>
> You're trying to create a list with over 600 billion items.
> sys.maxsize is a bit over 2 billion for 32-bit CPython, but switching
> to 64-bit won't help unless you have a few terabytes of memory (8
> bytes per pointer). You need to rethink your approach to generating
> primes.
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>



-- 
Keith
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to