文章目錄

原题链接 http://projecteuler.net/problem=39

Integer right triangles

If p is the perimeter of a right angle triangle with integral length sides, {a,b,c}, there are exactly three solutions for p = 120.

{20,48,52}, {24,45,51}, {30,40,50}

For which value of p <= 1000, is the number of solutions maximised?

直角三角形的个数

如果p是直角三角形的周长,它的三个边为{a,b,c},对于p = 120,正好有三个直角三角形

{20,48,52},{24,45,51},{30,40,50}

对于p <= 1000,求存在三角形个数最多的数

解答:

这题没什么好说的。

打赏作者

文章目錄