Tuesday, April 27, 2010

Off by 1

Done with problem #7. Lots of off-by-one errors around my loops to find the nth prime number. Also, a little bit of a problem with the edge case of 2 being prime, but I just manhandled it into the answer. Not pretty, but I'm tired.

No comments:

Post a Comment