freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-237-tours-on-a-4-x-...

56 lines
1.5 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: 5900f4591000cf542c50ff6c
challengeType: 5
title: 'Problem 237: Tours on a 4 x n playing board'
videoUrl: ''
localeTitle: 'Задача 237: Туры на игровой плате размером 4 x n'
---
## Description
<section id="description"> Пусть T (n) - количество туров на игровой доске размером 4 × n, так что: тур начинается в верхнем левом углу. Тур состоит из перемещений вверх, вниз, влево или вправо на один квадрат. Экскурсия посещает каждый квадрат ровно один раз. Тур заканчивается в левом нижнем углу. На диаграмме показан один тур на плате размером 4 × 10: <p> T (10) равно 2329. Что такое T (1012) по модулю 108? </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler237()</code> должен вернуть 15836928.
testString: 'assert.strictEqual(euler237(), 15836928, "<code>euler237()</code> should return 15836928.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler237() {
// Good luck!
return true;
}
euler237();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>