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

747 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f4de1000cf542c50fff1 问题370几何三角形 5 problem-370-geometric-triangles

--description--

让我们将几何三角形定义为具有边a≤b≤c的整数边三角形使得其边形成几何级数即b2 = a·c。

这种几何三角形的一个例子是边长为a = 144b = 156和c = 169的三角形。

有861805个几何三角形周长≤106。

有多少个几何三角形周长≤2.5·1013

--hints--

euler370()应该返回41791929448408。

assert.strictEqual(euler370(), 41791929448408);

--seed--

--seed-contents--

function euler370() {

  return true;
}

euler370();

--solutions--

// solution required