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!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
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!