Here you can find solvers with example inputs. I'm trying my best to provide the best code.
There are no explainations or comments to these solutions. Also there are mangled variable names. It will be corrected later (maybe when AoC 2022 will end).
01 | 02 | 03 | 04 | |||
05 | 06 | 07 | 08 | 09 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
Check out Online Solvers available on my website!
Add inputs in text files matching a binary name, like 01.txt
, into the inputs/
directory.
Use this command (replace <day>
with approperiate 2-digit day number):
cargo ex <day>
Make sure there is an input text file in inputs/
and then type the following command (replace <day>
with the day number):
cargo solve <day>