freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-276-primitive-trian...

22 lines
480 B
Markdown
Raw Normal View History

---
id: 5900f4801000cf542c50ff93
title: 问题276原始三角形
challengeType: 5
videoUrl: ''
---
# --description--
考虑具有整数边ab和c的三角形其中a≤b≤c。如果gcdabc= 1则整数边三角形abc称为基元。存在多少个原始整数边三角形周长不超过10 000 000
# --hints--
`euler276()`应该返回5777137137739633000。
```js
assert.strictEqual(euler276(), 5777137137739633000);
```
# --solutions--