2017-05-13から1日間の記事一覧
問題 Problem 9:Special Pythagorean triplet A Pythagorean triplet is a set of three natural numbers, a a^2 + b^2 = c^2 For example, 3^2 + 4^2 = 9 + 16 = 25 = 5^2.There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find…