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>
This commit is contained in:
committed by
GitHub
parent
0095583028
commit
ee1e8abd87
@ -3,6 +3,7 @@ id: 5900f43e1000cf542c50ff4f
|
||||
title: 问题209:循环逻辑
|
||||
challengeType: 5
|
||||
videoUrl: ''
|
||||
dashedName: problem-209-circular-logic
|
||||
---
|
||||
|
||||
# --description--
|
||||
@ -21,5 +22,21 @@ x y x AND y000010100111x y x XOR y000011101110多个6输入二进制真值表τ
|
||||
assert.strictEqual(euler209(), 15964587728784);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
function euler209() {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
euler209();
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
||||
```js
|
||||
// solution required
|
||||
```
|
||||
|
Reference in New Issue
Block a user