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

41 lines
814 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f5061000cf542c510017
title: 问题409Nim Extreme
challengeType: 5
videoUrl: ''
dashedName: problem-409-nim-extreme
---
# --description--
设n是正整数。考虑nim位置有n个非空桩。每堆的尺寸小于2n。没有两个桩具有相同的尺寸。设Wn是满足上述条件的获胜nim位置的数量如果第一个玩家具有获胜策略则获胜的位置。例如W1= 1W2= 6W3= 168W5= 19764360W100mod 1 000 000 007 = 384777056。
求W10 000 000mod 1 000 000 007。
# --hints--
`euler409()`应该返回253223948。
```js
assert.strictEqual(euler409(), 253223948);
```
# --seed--
## --seed-contents--
```js
function euler409() {
return true;
}
euler409();
```
# --solutions--
```js
// solution required
```