56 lines
1.2 KiB
Markdown
56 lines
1.2 KiB
Markdown
|
---
|
|||
|
id: 5900f5271000cf542c510039
|
|||
|
challengeType: 5
|
|||
|
title: 'Problem 442: Eleven-free integers'
|
|||
|
videoUrl: ''
|
|||
|
localeTitle: ''
|
|||
|
---
|
|||
|
|
|||
|
## Description
|
|||
|
<section id="description"> Целое число называется одиннадцати бесплатным, если его десятичное разложение не содержит подстроки, представляющей степень 11, за исключением 1. <p> Например, 2404 и 13431 - одиннадцать, а 911 и 4121331 - нет. </p><p> Пусть E (n) - n-е положительное одно целое число. Например, E (3) = 3, E (200) = 213 и E (500 000) = 531563. </p><p> Найдите E (1018). </p></section>
|
|||
|
|
|||
|
## Instructions
|
|||
|
<section id="instructions">
|
|||
|
</section>
|
|||
|
|
|||
|
## Tests
|
|||
|
<section id='tests'>
|
|||
|
|
|||
|
```yml
|
|||
|
tests:
|
|||
|
- text: ''
|
|||
|
testString: 'assert.strictEqual(euler442(), 1295552661530920200, "<code>euler442()</code> should return 1295552661530920200.");'
|
|||
|
|
|||
|
```
|
|||
|
|
|||
|
</section>
|
|||
|
|
|||
|
## Challenge Seed
|
|||
|
<section id='challengeSeed'>
|
|||
|
|
|||
|
<div id='js-seed'>
|
|||
|
|
|||
|
```js
|
|||
|
function euler442() {
|
|||
|
// Good luck!
|
|||
|
return true;
|
|||
|
}
|
|||
|
|
|||
|
euler442();
|
|||
|
|
|||
|
```
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</section>
|
|||
|
|
|||
|
## Solution
|
|||
|
<section id='solution'>
|
|||
|
|
|||
|
```js
|
|||
|
// solution required
|
|||
|
```
|
|||
|
</section>
|