Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-389-platonic-dice.md
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

39 lines
881 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: 5900f4f21000cf542c510004
title: 问题389柏拉图式骰子
challengeType: 5
videoUrl: ''
dashedName: problem-389-platonic-dice
---
# --description--
抛出一个无偏的单面4面模具并注明其值T.T无偏见的6面骰子被抛出并且它们的分数加在一起。记录总和C.C抛出无偏见的8面骰子并将它们的分数加在一起。记录总和O.O无偏见的12面骰子被投掷并且他们的分数被加在一起。记录总和D.D抛出无偏的20面骰子并将它们的分数加在一起。总和注意到。找出I的方差并将答案四舍五入到小数点后4位。
# --hints--
`euler389()`应该返回2406376.3623。
```js
assert.strictEqual(euler389(), 2406376.3623);
```
# --seed--
## --seed-contents--
```js
function euler389() {
return true;
}
euler389();
```
# --solutions--
```js
// solution required
```