freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-176-right-angled-tr...

56 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f41c1000cf542c50ff2f
challengeType: 5
title: 'Problem 176: Right-angled triangles that share a cathetus'
videoUrl: ''
localeTitle: 问题176共用一个cathetus的直角三角形
---
## Description
<section id="description">具有侧面9,12,1512,16,205,12,1312,35,37的四个直角三角形都具有相等的一个短边导管可以证明没有其他整数侧直角三角形存在其中一个导管等于12.找到最小整数可以是恰好47547个不同整数侧直角三角形的cathetus的长度。 </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler176()</code>应返回96818198400000。
testString: 'assert.strictEqual(euler176(), 96818198400000, "<code>euler176()</code> should return 96818198400000.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler176() {
// Good luck!
return true;
}
euler176();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>