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

811 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f3e91000cf542c50fefc 问题125回文总和 5 problem-125-palindromic-sums

--description--

回文数595很有意思因为它可以写成连续正方形的总和62 + 72 + 82 + 92 + 102 + 112 + 122.正好有11个以下的回文可以写成连续的平方和并且这些回文的总和是4164.注意没有包括1 = 02 + 12因为该问题涉及正整数的平方。找到小于108的所有数字的总和这些数字都是回文并且可以写为连续正方形的总和。

--hints--

euler125()应该返回2906969179。

assert.strictEqual(euler125(), 2906969179);

--seed--

--seed-contents--

function euler125() {

  return true;
}

euler125();

--solutions--

// solution required