1.3 KiB
1.3 KiB
id | challengeType | title |
---|---|---|
5900f4ca1000cf542c50ffdc | 5 | Problem 349: Langton's ant |
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, '<code>euler349()</code> should return 115384615384614940.');
Challenge Seed
function euler349() {
// Good luck!
return true;
}
euler349();
Solution
// solution required