56 lines
1.1 KiB
Markdown
56 lines
1.1 KiB
Markdown
---
|
|
id: 5900f3b81000cf542c50fecb
|
|
challengeType: 5
|
|
title: 'Problem 76: Counting summations'
|
|
videoUrl: ''
|
|
localeTitle: 'Задача 76: подсчет сумм'
|
|
---
|
|
|
|
## Description
|
|
<section id="description"> Можно записать пять в виде суммы ровно по шесть разных способов: 4 + 1 3 + 2 3 + 1 + 1 2 + 2 + 1 2 + 1 + 1 + 1 1 + 1 + 1 + 1 + 1 Сколько разных пути можно записать в виде суммы по крайней мере двух положительных целых чисел? </section>
|
|
|
|
## Instructions
|
|
<section id="instructions">
|
|
</section>
|
|
|
|
## Tests
|
|
<section id='tests'>
|
|
|
|
```yml
|
|
tests:
|
|
- text: <code>euler76()</code> должен вернуть 190569291.
|
|
testString: 'assert.strictEqual(euler76(), 190569291, "<code>euler76()</code> should return 190569291.");'
|
|
|
|
```
|
|
|
|
</section>
|
|
|
|
## Challenge Seed
|
|
<section id='challengeSeed'>
|
|
|
|
<div id='js-seed'>
|
|
|
|
```js
|
|
function euler76() {
|
|
// Good luck!
|
|
return true;
|
|
}
|
|
|
|
euler76();
|
|
|
|
```
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
## Solution
|
|
<section id='solution'>
|
|
|
|
```js
|
|
// solution required
|
|
```
|
|
</section>
|