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

671 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f3e21000cf542c50fef5 问题118Pandigital prime set 5 problem-118-pandigital-prime-sets

--description--

使用所有数字1到9并自由地连接它们以形成十进制整数可以形成不同的集合。有趣的是集合{2,5,47,89,631}属于它的所有元素都是素数。包含每个数字1到9的多少个不同的集合只包含主要元素

--hints--

euler118()应返回44680。

assert.strictEqual(euler118(), 44680);

--seed--

--seed-contents--

function euler118() {

  return true;
}

euler118();

--solutions--

// solution required