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

825 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f43e1000cf542c50ff4f 问题209循环逻辑 5 problem-209-circular-logic

--description--

k输入二进制真值表是从k个输入位二进制数字0 [假]或1 [真]到1个输出位的映射。例如逻辑AND和XOR函数的2输入二进制真值表是

x y x AND y000010100111x y x XOR y000011101110多个6输入二进制真值表τ满足公式

所有6位输入abcτabcdef和τbcdef一个XORb和c= 0 def

--hints--

euler209()应该返回15964587728784。

assert.strictEqual(euler209(), 15964587728784);

--seed--

--seed-contents--

function euler209() {

  return true;
}

euler209();

--solutions--

// solution required