Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com> Co-authored-by: Beau Carnes <beaucarnes@gmail.com>
1.3 KiB
1.3 KiB
id, challengeType, isHidden, title, forumTopicId
id | challengeType | isHidden | title | forumTopicId |
---|---|---|---|---|
5900f4ca1000cf542c50ffdc | 5 | false | Problem 349: Langton's ant | 302008 |
Description
Starting with a grid that is entirely white, how many squares are black after 1018 moves of the ant?
Instructions
Tests
tests:
- text: <code>euler349()</code> should return 115384615384614940.
testString: assert.strictEqual(euler349(), 115384615384614940);
Challenge Seed
function euler349() {
// Good luck!
return true;
}
euler349();
Solution
// solution required