freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-208-robot-walks.md

26 lines
625 B
Markdown
Raw Normal View History

---
id: 5900f43f1000cf542c50ff51
title: 问题208机器人走路
challengeType: 5
videoUrl: ''
---
# --description--
机器人以一系列五分之一圆弧72°移动每个步骤可自由选择顺时针或逆时针弧但不能转动现场。
从北向南开始的70932条可能的闭合路径之一是
鉴于机器人开始面向北方在最终弧线之后可以将多少70个弧长的行程返回到其起始位置 (任何弧都可以多次遍历。)
# --hints--
`euler208()`应该返回331951449665644800。
```js
assert.strictEqual(euler208(), 331951449665644800);
```
# --solutions--