chore(learn): Applied MDX format to Chinese curriculum files (#40462)
This commit is contained in:
@ -1,55 +1,27 @@
|
||||
---
|
||||
id: 5900f4e01000cf542c50fff2
|
||||
title: 问题371:车牌
|
||||
challengeType: 5
|
||||
videoUrl: ''
|
||||
title: 问题371:车牌
|
||||
---
|
||||
|
||||
## Description
|
||||
<section id="description">俄勒冈车牌由三个字母后跟一个三位数组成(每个数字可以是[0..9])。开车上班时,赛斯玩下面的游戏:每当他旅行中看到的两个牌照的数量增加到1000就是胜利。 <p>例如,MIC-012和HAN-988也是胜利,RYU-500和SET-500也是如此。 (只要他在同一次旅行中看到他们)。 </p><p>找到他想要获胜的预期牌照数量。将您的答案四舍五入到小数点后面的小数点后8位。 </p><p>注意:我们假设所看到的每个牌照同样可能有三位数字。 </p></section>
|
||||
# --description--
|
||||
|
||||
## Instructions
|
||||
<section id="instructions">
|
||||
</section>
|
||||
俄勒冈车牌由三个字母后跟一个三位数组成(每个数字可以是\[0..9])。开车上班时,赛斯玩下面的游戏:每当他旅行中看到的两个牌照的数量增加到1000就是胜利。
|
||||
|
||||
## Tests
|
||||
<section id='tests'>
|
||||
例如,MIC-012和HAN-988也是胜利,RYU-500和SET-500也是如此。 (只要他在同一次旅行中看到他们)。
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: <code>euler371()</code>应返回40.66368097。
|
||||
testString: assert.strictEqual(euler371(), 40.66368097);
|
||||
找到他想要获胜的预期牌照数量。将您的答案四舍五入到小数点后面的小数点后8位。
|
||||
|
||||
```
|
||||
注意:我们假设所看到的每个牌照同样可能有三位数字。
|
||||
|
||||
</section>
|
||||
# --hints--
|
||||
|
||||
## Challenge Seed
|
||||
<section id='challengeSeed'>
|
||||
|
||||
<div id='js-seed'>
|
||||
`euler371()`应返回40.66368097。
|
||||
|
||||
```js
|
||||
function euler371() {
|
||||
// Good luck!
|
||||
return true;
|
||||
}
|
||||
|
||||
euler371();
|
||||
|
||||
assert.strictEqual(euler371(), 40.66368097);
|
||||
```
|
||||
|
||||
</div>
|
||||
# --solutions--
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
## Solution
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
// solution required
|
||||
```
|
||||
|
||||
/section>
|
||||
|
Reference in New Issue
Block a user