freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-118-pandigital-prim...

58 lines
1.3 KiB
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: 5900f3e21000cf542c50fef5
challengeType: 5
title: 'Problem 118: Pandigital prime sets'
forumTopicId: 301744
localeTitle: 'Задача 118: Pandigital простые множества'
---
## Description
<section id='description'>
Используя все цифры с 1 по 9 и конкатенируя их свободно, чтобы сформировать десятичные целые числа, могут быть сформированы различные множества. Интересно, что набор {2,5,47,89,631}, все элементы, принадлежащие ему, являются просторными. Сколько различных наборов, содержащих каждую из цифр от одного до девятого ровно один раз, содержат только простые элементы?
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler118()</code> should return 44680.
testString: assert.strictEqual(euler118(), 44680);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler118() {
// Good luck!
return true;
}
euler118();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>