Project Euler 13

This one was a bit confusing.  The wording of the problem is, “Work out the first ten digits of the sum of the following one-hundred 50-digit numbers.”  I assumed that they wanted the ones place through the billionths place, but they wanted the first ten digits starting from the left side of the number. Continue reading

Advertisement

Project Euler 14

I haven’t written any code in almost 2 weeks, but I did read a few pages of Eloquent Javascript (I highly recommend it, along with Javascript: The Good Parts).  I started Euler 14 on 7/30, felt a bit overwhelmed, wrote a rough sketch, and left it.  I felt inspired tonight (read: nothing else to do) so I revisited the problem.   Continue reading