Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-75-singular-integer-right-triangles.chinese.md
Oliver Eyton-Williams 61460c8601 fix: insert blank line after ```
search and replace ```\n< with ```\n\n< to ensure there's an empty line
before closing tags
2020-08-16 04:45:20 +05:30

1.3 KiB
Raw Blame History

id, challengeType, title, videoUrl, localeTitle
id challengeType title videoUrl localeTitle
5900f3b71000cf542c50feca 5 Problem 75: Singular integer right triangles 问题75奇异整数直角三角形

Description

事实证明12厘米是最小的导线长度可以弯曲形成一个完整的直角三角形只有一种方式但还有更多的例子。 12 cm3,4,524 cm6,8,1030 cm5,12,1336 cm9,12,1540 cm8,15,17 48厘米12,16,20相比之下一些长度的线如20厘米不能弯曲形成整数个直角三角形其他长度允许找到多个解决方案;例如使用120厘米可以精确地形成三个不同的整数侧直角三角形。 120厘米30,40,5020,48,5224,45,51假设L是线的长度L≤1,500,000的多少个数值恰好可以是一个整数的右边角三角形成

Instructions

Tests

tests:
  - text: <code>euler75()</code>应返回161667。
    testString: assert.strictEqual(euler75(), 161667);

Challenge Seed

function euler75() {
  // Good luck!
  return true;
}

euler75();

Solution

// solution required

/section>