elz: (ada-tubes)
elz ([personal profile] elz) wrote in [community profile] intro_to_cs2009-11-11 10:52 pm
Entry tags:

Poll & solutions

First:

Open to: Registered Users, detailed results viewable to: All, participants: 25


Tickyboxes!

View Answers

Finished lecture 2
24 (96.0%)

Finished problem set 1
15 (60.0%)



Also, it occurs to me that it might be handy to have a place to post/discuss solutions to the problem sets, to see what we can learn from each other in the absence of TAs. If you actually go to MIT and the problem sets are still the same, don't read these. ;)

Fire away!
luckykitty: Cartoon avatar created on madmen site (Default)

[personal profile] luckykitty 2009-11-14 08:55 pm (UTC)(link)
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*