* 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>
41 lines
615 B
Markdown
41 lines
615 B
Markdown
---
|
||
id: 5900f44b1000cf542c50ff5e
|
||
title: 问题223:几乎是直角三角形I.
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
dashedName: problem-223-almost-right-angled-triangles-i
|
||
---
|
||
|
||
# --description--
|
||
|
||
如果边满足a2 + b2 = c2 + 1,让我们称一个整数边三角形,边a≤b≤c几乎不是锐角。
|
||
|
||
有多少个几乎没有锐角的三角形,周长≤25,000,000?
|
||
|
||
# --hints--
|
||
|
||
`euler223()`应该返回61614848。
|
||
|
||
```js
|
||
assert.strictEqual(euler223(), 61614848);
|
||
```
|
||
|
||
# --seed--
|
||
|
||
## --seed-contents--
|
||
|
||
```js
|
||
function euler223() {
|
||
|
||
return true;
|
||
}
|
||
|
||
euler223();
|
||
```
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|