Files
freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-208-robot-walks.russian.md

56 lines
1.6 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: 5900f43f1000cf542c50ff51
challengeType: 5
title: 'Problem 208: Robot Walks'
videoUrl: ''
localeTitle: 'Задача 208: Прогулки роботов'
---
## Description
<section id="description"> Робот движется в серии из пятых круглых дуг (72 °), со свободным выбором по часовой стрелке или против часовой стрелки для каждого шага, но без поворота на пятно. <p> Один из 70932 возможных замкнутых путей из 25 дуг, начинающихся с севера, является </p><p> Учитывая, что робот начинает сталкиваться с Севером, сколько поездок длиной 70 дуг можно взять, чтобы вернуть его после последней дуги в исходное положение? (Любая дуга может быть пройдена несколько раз). </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler208()</code> должен вернуть 331951449665644800.
testString: 'assert.strictEqual(euler208(), 331951449665644800, "<code>euler208()</code> should return 331951449665644800.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler208() {
// Good luck!
return true;
}
euler208();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>