* 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
630 B
Markdown
39 lines
630 B
Markdown
---
|
||
id: 5900f3b81000cf542c50fecb
|
||
title: 问题76:计算总结
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
dashedName: problem-76-counting-summations
|
||
---
|
||
|
||
# --description--
|
||
|
||
可以用六种不同的方式将五个作为总和写成:4 + 1 3 + 2 3 + 1 + 1 2 + 2 + 1 2 + 1 + 1 + 1 1 + 1 + 1 + 1 + 1多少个不同一百种方式可以写成至少两个正整数的总和?
|
||
|
||
# --hints--
|
||
|
||
`euler76()`应该返回190569291。
|
||
|
||
```js
|
||
assert.strictEqual(euler76(), 190569291);
|
||
```
|
||
|
||
# --seed--
|
||
|
||
## --seed-contents--
|
||
|
||
```js
|
||
function countingSummations() {
|
||
|
||
return true;
|
||
}
|
||
|
||
countingSummations();
|
||
```
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|