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*
no subject
It's SO educational to see everyone's solutions--clearly I'm not a very efficient coder. Must learn! *determined*