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

831 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f3ca1000cf542c50fedd 问题94几乎等边三角形 5 problem-94-almost-equilateral-triangles

--description--

很容易证明不存在具有整体长边和整体面积的等边三角形。然而几乎等边三角形5-5-6的面积为12平方单位。我们将几乎等边三角形定义为三边形其中两边相等第三边相差不超过一个单位。求出所有几乎等边三角形的周长之和其中边长和面积不超过十亿1,000,000,000

--hints--

euler94()应该返回518408346。

assert.strictEqual(euler94(), 518408346);

--seed--

--seed-contents--

function almostEquilateralTriangles() {

  return true;
}

almostEquilateralTriangles();

--solutions--

// solution required