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,27 @@
---
id: 5900f4c21000cf542c50ffd4
title: 问题340疯狂的功能
challengeType: 5
videoUrl: ''
title: 问题340疯狂的功能
---
## Description
<section id="description">对于固定整数abc定义疯狂函数Fn如下Fn= n - c表示所有n&gt; b Fn= Fa + Fa + Fa +所有n≤b的Fa + n<p>另外定义Sabc=。 </p><p>例如如果a = 50b = 2000且c = 40则F0= 3240并且F2000= 2040.此外S50,2000,40= 5204240。 </p><p>找到S217,721,127的最后9位数。 </p></section>
# --description--
## Instructions
<section id="instructions">
</section>
对于固定整数abc定义疯狂函数Fn如下Fn= n - c表示所有n> b Fn= Fa + Fa + Fa +所有n≤b的Fa + n
## Tests
<section id='tests'>
另外定义Sabc=。
```yml
tests:
- text: <code>euler340()</code>应返回291504964。
testString: assert.strictEqual(euler340(), 291504964);
例如如果a = 50b = 2000且c = 40则F0= 3240并且F2000= 2040.此外S50,2000,40= 5204240。
```
找到S217,721,127的最后9位数。
</section>
# --hints--
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
`euler340()`应返回291504964。
```js
function euler340() {
// Good luck!
return true;
}
euler340();
assert.strictEqual(euler340(), 291504964);
```
</div>
# --solutions--
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>