mirror of
https://github.com/cupcakearmy/advent-of-code.git
synced 2024-12-22 08:06:25 +00:00
15 lines
318 B
Markdown
15 lines
318 B
Markdown
# 10
|
|
|
|
A parser! what a joy :)
|
|
|
|
Basically a stack machine wrapped in some boilerplate.
|
|
A neat trick for part 2 is to simply reverse the order of the stack and count that instead of actually adding the rest.
|
|
|
|
<details>
|
|
<summary>Solutions</summary>
|
|
<ol>
|
|
<li>288957</li>
|
|
<li>4263222782</li>
|
|
</ol>
|
|
</details>
|