Skip to content

Files

Latest commit

Dec 4, 2024
fb8d677 · Dec 4, 2024

History

History
48 lines (36 loc) · 1.17 KB

README.md

File metadata and controls

48 lines (36 loc) · 1.17 KB

Advent of Code 2024 Solutions

img.png

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.

Repository Structure

The repository is organized as follows:

AOC24/
├── data/       # Contains input data for each day's puzzle
└── src/        # Source code files for each solution

Solutions

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.

Running the Solutions

  1. Ensure Zig is installed on your system.

  2. Clone this repo

    git clone https://github.com/Alfagov/AOC24.git
  3. Build

    zig build
  4. 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!