My solutions for the 2023 edition of Advent of Code
You must have Elixir installed to run this. You can use asdf or rtx for that.
Run mix advent day [part] [--test data] [--profile]
where:
day
is the day for which to run the solution[part]
is the part of the day for which to run the solution (default: 1)[--test data]
is used for passing test data to the solver. If not present, the corresponding input file is used instead.[--profile]
runs the given day and part with the ExProf profiler.
Alternatively, you may run mix test
to run all days and all parts and verify that they all still give the right answer