Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-218-perfect-right-angled-triangles.md
Oliver Eyton-Williams dec409a4bd fix: s/localeTitle/title/g
2020-10-06 23:10:08 +05:30

56 lines
1.2 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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: 5900f4461000cf542c50ff59
challengeType: 5
videoUrl: ''
title: 问题218完美的直角三角形
---
## Description
<section id="description">考虑具有边a = 7b = 24和c = 25的直角三角形。这个三角形的面积是84可以被完美的数字6和28整除。而且它是一个原始的直角三角形因为gcdab= 1gcdbc= 1。 c也是一个完美的正方形。 <p>如果-it是一个原始的直角三角形我们将称为直角三角形完美 - 斜边是一个完美的正方形</p><p>如果-it是一个完美的直角三角形我们将称为直角三角形超完美并且 - 区域是完美数字6和28的倍数。 </p><p>有多少c≤1016的完美直角三角形不是非常完美的 </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler218()</code>应该返回0。
testString: assert.strictEqual(euler218(), 0);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler218() {
// Good luck!
return true;
}
euler218();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>