Thursday, March 27, 2014

project euler problem 461

Almost Pi

This problem is an easy problem if one plays with PE for some time. It uses the same algorithm as problem 266.

The algorithm is very fascinating! I really love the algorithm because I had a very painful time when I tried to solve problem 266. But this time, everything is easy! I wrote the code for 15 minutes or so and my first trial is the correct one.

No comments:

Post a Comment