Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 7 Online
OpenStudy (anonymous):

Finished ps1 problem 2. Check out my code for any suggestions... thanks... http://dpaste.com/570787/

OpenStudy (anonymous):

u add an extra log(2) every time i think.. i advise initializing sum_log_prime to 0

OpenStudy (anonymous):

Good catch!... I don't even remember why I did that. I should really put comments to keep track..... if only I wasn't so lazy :p

OpenStudy (jhonny111s):

excuseme why you start count log(2), this surplus

OpenStudy (anonymous):

^^ Yeah that is a mistake...we discussed that in the above to answers u see :)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!