Saturday, September 10, 2011

Project Euler 9 Solution



Today's lesson is twofold. 1) Read the problem twice before diving in with both feet. 2) Wikipedia is your friend (and I have Matt to thank for that tip).

I completely misread the problem, but in my defense it's a poorly written problem. Thankfully Euclid gave us a handy way of generating Pythagorean Triples and the rest was easy.

No comments:

Post a Comment