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

43 lines
1008 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: 5900f44f1000cf542c50ff61
title: 问题227大通
challengeType: 5
videoUrl: ''
dashedName: problem-227-the-chase
---
# --description--
“追逐”是一个玩两个骰子和偶数玩家的游戏。
球员坐在桌子旁;游戏开始于两个相对的玩家每个玩家有一个骰子。在每个回合中两个玩家都会掷骰子。如果一名球员掷出一个1他将骰子传给左边的邻居;如果他掷出一个6他就把骰子传给右边的邻居;否则,他会为下一个回合保留死亡。游戏结束时,一个玩家在滚动并通过后都有两个骰子;那个玩家失败了。
在拥有100名玩家的游戏中游戏持续的预期轮数是多少将您的答案四舍五入到十位有效数字。
# --hints--
`euler227()`应返回3780.618622。
```js
assert.strictEqual(euler227(), 3780.618622);
```
# --seed--
## --seed-contents--
```js
function euler227() {
return true;
}
euler227();
```
# --solutions--
```js
// solution required
```