luckykitty: Cartoon avatar created on madmen site (Default)
luckykitty ([personal profile] luckykitty) wrote in [community profile] intro_to_cs 2009-11-14 08:55 pm (UTC)

My basic program was similar to a lot of the ones here but I totally "duh"ed on the fact that you really don't need to store all the primes, you just need to keep track of what prime you're on. I ended up storing them all in an array, then calling up the 1000th. *headdesk*

It's SO educational to see everyone's solutions--clearly I'm not a very efficient coder. Must learn! *determined*

Post a comment in response:

This community only allows commenting by members. You may comment here if you're a member of intro_to_cs.
(will be screened if not on Access List)
(will be screened if not on Access List)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting