freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-215-crack-free-wall...

58 lines
1.6 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: 5900f4431000cf542c50ff56
challengeType: 5
title: 'Problem 215: Crack-free Walls'
forumTopicId: 301857
localeTitle: 'Проблема 215: стены без трещин'
---
## Description
<section id='description'>
Рассмотрим проблему строительства стены из кирпичей 2 × 1 и 3 × 1 (горизонтальные × вертикальные размеры), так что для дополнительной прочности промежутки между горизонтально смежными кирпичами никогда не выстраиваются в ряд последовательно, то есть никогда не образуют «бегущую» трещина&quot;. <p> Например, следующая стена 9 × 3 неприемлема из-за бегущей трещины, показанной красным: </p><p> Существует восемь способов формирования свободной от трещины стенки 9 × 3, записанной W (9,3) = 8. </p><p> Вычислить W (32,10). </p>
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler215()</code> should return 806844323190414.
testString: assert.strictEqual(euler215(), 806844323190414);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler215() {
// Good luck!
return true;
}
euler215();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>