Project Euler 13 Complete

I finished up my solution to Project Euler 13

This one was easy to work out on paper, but irritating to implement. It’s pretty brute force, and I read a few solutions in the problem’s forum (which you get access to after you solve the problem) that are much more elegant.

It would have been faster to start from scratch. My half-done program from 2012 had two subtle problems that I (hopefully!) wouldn’t have re-created. The first was screwing up how to index an array, and the second was that I mistakenly thought it was 50 numbers instead of 100.

On to #14!

This entry was posted in Programming. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s