Solutions to Advent of Code programming challenges for various years.
The challenges depend on a specific puzzle input provided alongside each task.
This repository expects these files to be available in the location /year/day_n/input.txt
however the creator has asked kindly that these files not be committed. As such you will need to provide your own puzzle inputs. From 2024 onwards, I have provided tests to run the publicly available example input through the solution. You may run the tests for any challenge to see the code in action without providing a puzzle input.
- To run the solution: navigate to the directory
/year/day_n/task_m/
and run the commandcargo run --release
. - To run the tests: navigate to the directory
/year/day_n/task_m/
and run the commandcargo test
.
- To run the solution, navigate to the directory
/year/day_n/
and run the commandgo run task_m.go
.