* 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>
831 B
831 B
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