55 lines
817 B
Markdown
55 lines
817 B
Markdown
---
|
|
id: 5900f4c11000cf542c50ffd3
|
|
challengeType: 5
|
|
title: 'Problem 341: Golomb"s self-describing sequence'
|
|
videoUrl: ''
|
|
localeTitle: 'Задача 341: самоописательная последовательность Голомба'
|
|
---
|
|
|
|
## Description
|
|
undefined
|
|
|
|
## Instructions
|
|
undefined
|
|
|
|
## Tests
|
|
<section id='tests'>
|
|
|
|
```yml
|
|
tests:
|
|
- text: <code>euler341()</code> должен вернуть 56098610614277016.
|
|
testString: 'assert.strictEqual(euler341(), 56098610614277016, "<code>euler341()</code> should return 56098610614277016.");'
|
|
|
|
```
|
|
|
|
</section>
|
|
|
|
## Challenge Seed
|
|
<section id='challengeSeed'>
|
|
|
|
<div id='js-seed'>
|
|
|
|
```js
|
|
function euler341() {
|
|
// Good luck!
|
|
return true;
|
|
}
|
|
|
|
euler341();
|
|
|
|
```
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
## Solution
|
|
<section id='solution'>
|
|
|
|
```js
|
|
// solution required
|
|
```
|
|
</section>
|