Special Pythagorean triplet
This problem is easy. There are many different approaches. If you use brute force on this problem(sqrt, check whether a number is an integer, etc), please learn from the discussion thread. The best approach is used again and again in many project Euler problems.
No comments:
Post a Comment