Tuesday, June 25, 2013

project euler problem 354

Distances in a bee's honeycomb

This problem is relatively easy for people who have solved 300+ problems, although only 230 people solved it. But one needs to find the "magic formula"  for this problem. It is not that hard to find the formula. Figuring out those examples are close. It takes 13 seconds for my code to get the answer.

No comments:

Post a Comment