* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
39 lines
799 B
Markdown
39 lines
799 B
Markdown
---
|
||
id: 5900f41c1000cf542c50ff2f
|
||
title: 问题176:共用一个cathetus的直角三角形
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
dashedName: problem-176-right-angled-triangles-that-share-a-cathetus
|
||
---
|
||
|
||
# --description--
|
||
|
||
具有侧面(9,12,15),(12,16,20),(5,12,13)和(12,35,37)的四个直角三角形都具有相等的一个短边(导管)可以证明,没有其他整数侧直角三角形存在,其中一个导管等于12.找到最小整数,可以是恰好47547个不同整数侧直角三角形的cathetus的长度。
|
||
|
||
# --hints--
|
||
|
||
`euler176()`应返回96818198400000。
|
||
|
||
```js
|
||
assert.strictEqual(euler176(), 96818198400000);
|
||
```
|
||
|
||
# --seed--
|
||
|
||
## --seed-contents--
|
||
|
||
```js
|
||
function euler176() {
|
||
|
||
return true;
|
||
}
|
||
|
||
euler176();
|
||
```
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|