* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
39 lines
594 B
Markdown
39 lines
594 B
Markdown
---
|
||
id: 5900f3b91000cf542c50fecc
|
||
title: 问题77:总结
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
dashedName: problem-77-prime-summations
|
||
---
|
||
|
||
# --description--
|
||
|
||
可以用五种不同的方式将十个作为素数之和:7 + 3 5 + 5 5 + 3 + 2 3 + 3 + 2 + 2 2 + 2 + 2 + 2 + 2第一个值是多少可以用五千多种不同的方式写成素数之和?
|
||
|
||
# --hints--
|
||
|
||
`euler77()`应该返回71。
|
||
|
||
```js
|
||
assert.strictEqual(euler77(), 71);
|
||
```
|
||
|
||
# --seed--
|
||
|
||
## --seed-contents--
|
||
|
||
```js
|
||
function primeSummations() {
|
||
|
||
return true;
|
||
}
|
||
|
||
primeSummations();
|
||
```
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|