Oliver Eyton-Williams ee1e8abd87
feat(curriculum): restore seed + solution to Chinese (#40683)
* 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>
2021-01-12 19:31:00 -07:00

39 lines
831 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f3ca1000cf542c50fedd
title: 问题94几乎等边三角形
challengeType: 5
videoUrl: ''
dashedName: problem-94-almost-equilateral-triangles
---
# --description--
很容易证明不存在具有整体长边和整体面积的等边三角形。然而几乎等边三角形5-5-6的面积为12平方单位。我们将几乎等边三角形定义为三边形其中两边相等第三边相差不超过一个单位。求出所有几乎等边三角形的周长之和其中边长和面积不超过十亿1,000,000,000
# --hints--
`euler94()`应该返回518408346。
```js
assert.strictEqual(euler94(), 518408346);
```
# --seed--
## --seed-contents--
```js
function almostEquilateralTriangles() {
return true;
}
almostEquilateralTriangles();
```
# --solutions--
```js
// solution required
```