Files
freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-208-robot-walks.md
Oliver Eyton-Williams ee1e8abd87 feat(curriculum): restore seed + solution to Chinese (#40683)
* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00

867 B

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f43f1000cf542c50ff51 Problem 208: Robot Walks 5 301849 problem-208-robot-walks

--description--

A robot moves in a series of one-fifth circular arcs (72°), with a free choice of a clockwise or an anticlockwise arc for each step, but no turning on the spot.

One of 70932 possible closed paths of 25 arcs starting northward is

Given that the robot starts facing North, how many journeys of 70 arcs in length can it take that return it, after the final arc, to its starting position? (Any arc may be traversed multiple times.)

--hints--

euler208() should return 331951449665644800.

assert.strictEqual(euler208(), 331951449665644800);

--seed--

--seed-contents--

function euler208() {

  return true;
}

euler208();

--solutions--

// solution required