chore(learn): Applied MDX format to Chinese curriculum files (#40462)
This commit is contained in:
@ -1,55 +1,23 @@
|
||||
---
|
||||
id: 5900f4411000cf542c50ff54
|
||||
title: 问题213:跳蚤马戏团
|
||||
challengeType: 5
|
||||
videoUrl: ''
|
||||
title: 问题213:跳蚤马戏团
|
||||
---
|
||||
|
||||
## Description
|
||||
<section id="description">一个30×30的正方形网格包含900个跳蚤,最初是每平方一个跳蚤。当响铃响起时,每个跳蚤随机跳到相邻的广场(通常有4种可能,除了网格边缘或角落处的跳蚤)。 <p>在响铃50次后,预计的未占用方格数量是多少?将您的答案四舍五入到小数点后六位。 </p></section>
|
||||
# --description--
|
||||
|
||||
## Instructions
|
||||
<section id="instructions">
|
||||
</section>
|
||||
一个30×30的正方形网格包含900个跳蚤,最初是每平方一个跳蚤。当响铃响起时,每个跳蚤随机跳到相邻的广场(通常有4种可能,除了网格边缘或角落处的跳蚤)。
|
||||
|
||||
## Tests
|
||||
<section id='tests'>
|
||||
在响铃50次后,预计的未占用方格数量是多少?将您的答案四舍五入到小数点后六位。
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: <code>euler213()</code>应返回330.721154。
|
||||
testString: assert.strictEqual(euler213(), 330.721154);
|
||||
# --hints--
|
||||
|
||||
```
|
||||
|
||||
</section>
|
||||
|
||||
## Challenge Seed
|
||||
<section id='challengeSeed'>
|
||||
|
||||
<div id='js-seed'>
|
||||
`euler213()`应返回330.721154。
|
||||
|
||||
```js
|
||||
function euler213() {
|
||||
// Good luck!
|
||||
return true;
|
||||
}
|
||||
|
||||
euler213();
|
||||
|
||||
assert.strictEqual(euler213(), 330.721154);
|
||||
```
|
||||
|
||||
</div>
|
||||
# --solutions--
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
## Solution
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
// solution required
|
||||
```
|
||||
|
||||
/section>
|
||||
|
Reference in New Issue
Block a user