mirror of
https://github.com/cupcakearmy/advent-of-code.git
synced 2024-11-18 02:50:47 +01:00
14 lines
361 B
Markdown
14 lines
361 B
Markdown
|
# 5
|
||
|
|
||
|
For the first one we treat the codes as 2 binary codes. One 7 and the other 3 long.
|
||
|
|
||
|
The second tripped me up as I was returning the binary encoded ticket number but AOC was expecting the seat ID. My bad, took me long to get it. Thanks to @tcq1
|
||
|
|
||
|
<details>
|
||
|
<summary>Solutions</summary>
|
||
|
<ol>
|
||
|
<li>998</li>
|
||
|
<li>84, 4 -> 676</li>
|
||
|
</ol>
|
||
|
</details>
|