chore(learn): Applied MDX format to Chinese curriculum files (#40462)

This commit is contained in:
Randell Dawson
2020-12-16 00:37:30 -07:00
committed by GitHub
parent 873fce02a2
commit 9ce4a02a41
1665 changed files with 58741 additions and 88042 deletions

View File

@ -1,55 +1,25 @@
---
id: 5900f4f71000cf542c510009
title: 问题394吃馅饼
challengeType: 5
videoUrl: ''
title: 问题394吃馅饼
---
## Description
<section id="description">杰夫以一种不同寻常的方式吃馅饼。馅饼是圆形的。他首先沿着半径切割馅饼中的初始切口。虽然剩下至少给定的馅饼F分数但他执行以下程序 - 他从饼图中心到馅饼边框剩余的任何一点做两个切片,剩下的馅饼边框上的任何一点都有可能。这将把剩下的馅饼分成三块。 - 从最初的切割逆时针走,他拿出前两个馅饼并吃掉它们。当剩下不到一小部分馅饼时,他不再重复这个过程。相反,他吃剩下的所有馅饼。 <p>对于x≥1设Ex是Jeff重复上述过程的预期次数F = 1 / x。可以证实E1= 1E2≈1.2676536759和E7.5≈2.1215732071。 </p><p>找到E40舍入到小数点后面的10位小数。 </p></section>
# --description--
## Instructions
<section id="instructions">
</section>
杰夫以一种不同寻常的方式吃馅饼。馅饼是圆形的。他首先沿着半径切割馅饼中的初始切口。虽然剩下至少给定的馅饼F分数但他执行以下程序 - 他从饼图中心到馅饼边框剩余的任何一点做两个切片,剩下的馅饼边框上的任何一点都有可能。这将把剩下的馅饼分成三块。 - 从最初的切割逆时针走,他拿出前两个馅饼并吃掉它们。当剩下不到一小部分馅饼时,他不再重复这个过程。相反,他吃剩下的所有馅饼。
## Tests
<section id='tests'>
对于x≥1设Ex是Jeff重复上述过程的预期次数F = 1 / x。可以证实E1= 1E2≈1.2676536759和E7.5≈2.1215732071。
```yml
tests:
- text: <code>euler394()</code>应返回3.2370342194。
testString: assert.strictEqual(euler394(), 3.2370342194);
找到E40舍入到小数点后面的10位小数。
```
# --hints--
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
`euler394()`应返回3.2370342194。
```js
function euler394() {
// Good luck!
return true;
}
euler394();
assert.strictEqual(euler394(), 3.2370342194);
```
</div>
# --solutions--
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>