Day 8 solution

This commit is contained in:
2021-12-08 14:51:00 +00:00
parent f2e471f2a4
commit b62022ff07
7 changed files with 503 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ After generating a new package update [`main.go`](main.go) to include a `<day>`
## My Solutions
These solutions are based on my input values provided to me. The inputs I was provided are also included in this repo.
### Day 1
```sh
@@ -82,3 +84,12 @@ The solution for "seven" is:
Used 357353 fuel to align
Used 104822130 fuel to align
```
### Day eight
```sh
$ ./aoc2021 --eight
The solution for "eight" is:
There were 476 instances of digits 1, 4, 7, or 8
The sum of the decoded output values was 1011823
```