56 lines
1.1 KiB
Markdown
56 lines
1.1 KiB
Markdown
---
|
||
id: 5900f41c1000cf542c50ff2f
|
||
challengeType: 5
|
||
title: 'Problem 176: Right-angled triangles that share a cathetus'
|
||
videoUrl: ''
|
||
localeTitle: 问题176:共用一个cathetus的直角三角形
|
||
---
|
||
|
||
## Description
|
||
<section id="description">具有侧面(9,12,15),(12,16,20),(5,12,13)和(12,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>
|