jetamors: Yoruichi is really hot (Default)
Jetamors ([personal profile] jetamors) wrote in [community profile] intro_to_cs 2010-01-19 05:05 am (UTC)

This one also runs pretty fast! I do see an error in your part 2, though; the question asks you to find all the primes between 1 and n, not n number of primes. If you do it that way, the ratio you get should always be between 0 and 1.

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