Files
freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-458-permutations-of-project.russian.md

58 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f5361000cf542c510049
challengeType: 5
title: 'Problem 458: Permutations of Project'
forumTopicId: 302132
localeTitle: 'Задача 458: Перестановки проекта'
---
## Description
<section id='description'>
Рассмотрим алфавит A, составленный из букв слова «проект»: A = {c, e, j, o, p, r, t}. Пусть T (n) - число строк длины n, состоящее из букв из A, которые не имеют подстроки, которая является одной из 5040 подстановок «проекта». <p> Т (7) = 77-7! = 818503. </p><p> Найти T (1012). Дайте последние 9 цифр вашего ответа. </p>
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler458()</code> should return 423341841.
testString: assert.strictEqual(euler458(), 423341841);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler458() {
// Good luck!
return true;
}
euler458();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>