Day 18 solution

This commit is contained in:
2021-12-19 00:27:21 +00:00
parent 56b9b82e60
commit 34c3b2da7e
11 changed files with 850 additions and 0 deletions

View File

@@ -182,3 +182,12 @@ The solution for "seventeen" is:
The max height is 35511
There are 3282 initial velocities that will hit the target
```
### Day eighteen
```sh
$ ./aoc2021 --eighteen
The solution for "eighteen" is:
The magnitude of the final sum is 4202
The largest magnitude of any two snail numbers is 4779
```