chore(learn): Applied MDX format to Chinese curriculum files (#40462)
This commit is contained in:
@ -1,55 +1,21 @@
|
||||
---
|
||||
id: 5900f3b91000cf542c50fecc
|
||||
title: 问题77:总结
|
||||
challengeType: 5
|
||||
videoUrl: ''
|
||||
title: 问题77:总结
|
||||
---
|
||||
|
||||
## Description
|
||||
<section id="description">可以用五种不同的方式将十个作为素数之和:7 + 3 5 + 5 5 + 3 + 2 3 + 3 + 2 + 2 2 + 2 + 2 + 2 + 2第一个值是多少可以用五千多种不同的方式写成素数之和? </section>
|
||||
# --description--
|
||||
|
||||
## Instructions
|
||||
<section id="instructions">
|
||||
</section>
|
||||
可以用五种不同的方式将十个作为素数之和:7 + 3 5 + 5 5 + 3 + 2 3 + 3 + 2 + 2 2 + 2 + 2 + 2 + 2第一个值是多少可以用五千多种不同的方式写成素数之和?
|
||||
|
||||
## Tests
|
||||
<section id='tests'>
|
||||
# --hints--
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: <code>euler77()</code>应该返回71。
|
||||
testString: assert.strictEqual(euler77(), 71);
|
||||
|
||||
```
|
||||
|
||||
</section>
|
||||
|
||||
## Challenge Seed
|
||||
<section id='challengeSeed'>
|
||||
|
||||
<div id='js-seed'>
|
||||
`euler77()`应该返回71。
|
||||
|
||||
```js
|
||||
function euler77() {
|
||||
// Good luck!
|
||||
return true;
|
||||
}
|
||||
|
||||
euler77();
|
||||
|
||||
assert.strictEqual(euler77(), 71);
|
||||
```
|
||||
|
||||
</div>
|
||||
# --solutions--
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
## Solution
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
// solution required
|
||||
```
|
||||
|
||||
/section>
|
||||
|
Reference in New Issue
Block a user