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

22 lines
480 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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--