I'm 28 (oops, 29 now) and I want to be C literate by the time I'm 30. That's two (one) years to become competent at something I've been wanting to do nearly my whole life. No pressure.
Wednesday, June 8, 2011
Project Euler 5 Solution
No optimizing in this one because I was in a hurry. CodeBlocks does the favor of timing execution but XCode doesn't (not in an obvious way that I can see).
This was a simple one so I decided to try doing K&R style brackets. Don't like it.
EDIT: I suppose two things are that I don't need to check odd numbers, and I only need to check 11-20 in the divisors.
Labels:
C,
Project Euler
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment