* 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>
47 lines
833 B
Markdown
47 lines
833 B
Markdown
---
|
||
id: 5900f4f21000cf542c510005
|
||
title: 问题390:具有非理性边和积分面积的三角形
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
dashedName: problem-390-triangles-with-non-rational-sides-and-integral-area
|
||
---
|
||
|
||
# --description--
|
||
|
||
考虑边长为√5,√65和√68的三角形。可以看出,该三角形具有区域9。
|
||
|
||
S(n)是所有三角形的面积之和,其边长为√(1 + b2),√(1 + c2)和√(b2 + c2)(对于正整数b和c),其积分面积不超过ñ。
|
||
|
||
示例三角形的b = 2且c = 8。
|
||
|
||
S(106)= 18018206。
|
||
|
||
找到S(1010)。
|
||
|
||
# --hints--
|
||
|
||
`euler390()`应该返回2919133642971。
|
||
|
||
```js
|
||
assert.strictEqual(euler390(), 2919133642971);
|
||
```
|
||
|
||
# --seed--
|
||
|
||
## --seed-contents--
|
||
|
||
```js
|
||
function euler390() {
|
||
|
||
return true;
|
||
}
|
||
|
||
euler390();
|
||
```
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|