Welcome to my repository for the Advent of Code 2024 challenges! This collection showcases my solutions to the daily programming puzzles released throughout December 2024.
The repository is organized as follows:
AOC24/
├── data/ # Contains input data for each day's puzzle
└── src/ # Source code files for each solution
Each day's solution is implemented in Zig, a robust and efficient programming language. The solutions are located in the src/
directory, with corresponding input data in the data/
directory.
-
Ensure Zig is installed on your system.
-
Clone this repo
git clone https://github.com/Alfagov/AOC24.git
-
Build
zig build
-
Run
./zig-out/bin/AOC24 <command> [args]
To execute all solutions:
./zig-out/bin/AOC24 all
To execute single solution:
./zig-out/bin/AOC24 day X Y
Replace X with the day and Y with the part 1/2.
Happy coding!