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,21 @@
---
id: 5900f53a1000cf542c51004c
title: 问题461几乎是Pi
challengeType: 5
videoUrl: ''
title: 问题461几乎是Pi
---
## Description
<section id="description">对于所有非负整数k设fnk= ek / n-1。值得注意的是f2006+ f20075+ f20089+ f200226= 3.141592644529 ...≈π。事实上对于n = 200它是fna+ fnb+ fnc+ fnd形式的π的最佳近似值。设gn= a2 + b2 + c2 + d 2为abcd最小化错误| fna+ fnb+ fnc+ fnd - π| (其中| x |表示x的绝对值。给出g200= 62 + 752 + 892 + 2262 = 64658.求g10000</section>
# --description--
## Instructions
<section id="instructions">
</section>
对于所有非负整数k设fnk= ek / n-1。值得注意的是f2006+ f20075+ f20089+ f200226= 3.141592644529 ...≈π。事实上对于n = 200它是fna+ fnb+ fnc+ fnd形式的π的最佳近似值。设gn= a2 + b2 + c2 + d 2为abcd最小化错误| fna+ fnb+ fnc+ fnd - π| (其中| x |表示x的绝对值。给出g200= 62 + 752 + 892 + 2262 = 64658.求g10000
## Tests
<section id='tests'>
# --hints--
```yml
tests:
- text: <code>euler461()</code>应该返回159820276。
testString: assert.strictEqual(euler461(), 159820276);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
`euler461()`应该返回159820276。
```js
function euler461() {
// Good luck!
return true;
}
euler461();
assert.strictEqual(euler461(), 159820276);
```
</div>
# --solutions--
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>