freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-172-investigating-n...

56 lines
1.1 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: 5900f4181000cf542c50ff2b
challengeType: 5
title: 'Problem 172: Investigating numbers with few repeated digits'
videoUrl: ''
localeTitle: 'Задача 172: Исследование чисел с несколькими повторными цифрами'
---
## Description
<section id="description"> Сколько 18-значных чисел n (без начальных нулей) есть такие, что никакая цифра не встречается более трех раз в n? </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler172()</code> должен вернуть 227485267000992000.
testString: 'assert.strictEqual(euler172(), 227485267000992000, "<code>euler172()</code> should return 227485267000992000.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler172() {
// Good luck!
return true;
}
euler172();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>