Files
freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-194-coloured-configurations.russian.md

56 lines
1.8 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: 5900f42f1000cf542c50ff40
challengeType: 5
title: 'Problem 194: Coloured Configurations'
videoUrl: ''
localeTitle: 'Проблема 194: Цветные конфигурации'
---
## Description
<section id="description"> Рассмотрим графики, построенные с единицами A: и B:, где единицы склеиваются по вертикальным краям, как на графике. <p> Конфигурация типа (a, b, c) представляет собой граф, построенный, таким образом, из блоков A и b единиц B, где вершины графика окрашены с использованием цветов до c, так что никакие две соседние вершины не имеют одного цвета. Компонентный график, приведенный выше, является примером конфигурации типа (2,2,6), фактически типа (2,2, c) для всех c ≥ 4. </p><p> Пусть N (a, b, c) - число конфигураций типа (a, b, c). Например, N (1,0,3) = 24, N (0,2,4) = 92928 и N (2,2,3) = 20736. </p><p> Найдите последние 8 цифр N (25,75,1984). </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler194()</code> должен вернуть 61190912.
testString: 'assert.strictEqual(euler194(), 61190912, "<code>euler194()</code> should return 61190912.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler194() {
// Good luck!
return true;
}
euler194();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>