diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-04-08 12:40:30 -0400 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-04-09 10:21:36 -0400 |
| commit | 9282e95e8844afe856ba76ceb6d2c3010df8bb1a (patch) | |
| tree | e35affc89b20324371381e079f7cb5f8a06aa81b /src/15/part2 | |
| parent | 2b5d4232879dc74491dabf54a0ddc958d66ebcec (diff) | |
| download | aoc2020-zig-master.tar.gz aoc2020-zig-master.zip | |
Diffstat (limited to 'src/15/part2')
| -rw-r--r-- | src/15/part2 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/15/part2 b/src/15/part2 new file mode 100644 index 0000000..3be53a9 --- /dev/null +++ b/src/15/part2 @@ -0,0 +1,18 @@ +--- Part Two --- + +Impressed, the Elves issue you a challenge: determine the 30000000th number spoken. For example, +given the same starting numbers as above: + + + - Given 0,3,6, the 30000000th number spoken is 175594. + - Given 1,3,2, the 30000000th number spoken is 2578. + - Given 2,1,3, the 30000000th number spoken is 3544142. + - Given 1,2,3, the 30000000th number spoken is 261214. + - Given 2,3,1, the 30000000th number spoken is 6895259. + - Given 3,2,1, the 30000000th number spoken is 18. + - Given 3,1,2, the 30000000th number spoken is 362. + + +Given your starting numbers, [1m[37mwhat will be the 30000000th number spoken?[0m + + |
