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

713 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f3f51000cf542c50ff07 问题136单身人士差异 5 problem-136-singleton-difference

--description--

正整数xy和z是算术级数的连续项。假设n是一个正整数当n = 20时方程x2 - y2 - z2 = n恰好有一个解132 - 102 - 72 = 20实际上有二十五个n低于一百的值其中方程有一个独特的解决方案。 n小于五千万的有多少个值只有一个解

--hints--

euler136()应返回2544559。

assert.strictEqual(euler136(), 2544559);

--seed--

--seed-contents--

function euler136() {

  return true;
}

euler136();

--solutions--

// solution required