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

697 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f3a41000cf542c50feb7 问题56强大的数字总和 5 problem-56-powerful-digit-sum

--description--

googol10100是一个庞大的数字一个跟着一百个零; 100100几乎是难以想象的大一个跟着两百个零。尽管它们的大小每个数字的数字之和仅为1.考虑到形式的自然数ab其中ab <100最大数字和是多少

--hints--

euler56()应返回972。

assert.strictEqual(euler56(), 972);

--seed--

--seed-contents--

function powerfulDigitSum() {

  return true;
}

powerfulDigitSum();

--solutions--

// solution required