freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-442-eleven-free-int...

64 lines
980 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f5271000cf542c510039
challengeType: 5
videoUrl: ''
localeTitle: 问题442十一个整数
---
## Description
<section id="description">
如果整数的十进制扩展不包含任何表示11的幂的子串除1之外则称其为十一无码。
例如2404和13431不包含11而911和4121331不是。
令En为第n个正十一无整数。 例如E3= 3E200= 213和E500000= 531563。
找出E1018
</section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler442()</code>应该返回1295552661530920200。
testString: assert.strictEqual(euler442(), 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>