56 lines
1.5 KiB
Markdown
56 lines
1.5 KiB
Markdown
---
|
||
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>
|