Skip to content

Advent of Code solutions (2024)

License

Notifications You must be signed in to change notification settings

jixunmoe/aoc-solutions

Repository files navigation

AoC Solutions

Solutions for the Advent of Code puzzles.

Build and Running solutions

For Python solutions, run the following commands:

python solve.py input.txt

For C++ solutions, run the following commands:

g++ -O2 -Wall -DNDEBUG -std=c++20 -march=native -o solve.exe solve.cpp
./solve.exe input.txt

or, if a Makefile file was provided:

make sample # run against sample.txt
make solve # run against input.txt

If you are using an aarch64 processor, repalce -O2 with -O3 to have auto vectorisation for better performance.

For Rust solutions, run the following commands:

cargo run --release --bin solve -- input.txt

Contents

Legends
legend meaning

Completed

🚧

To be done

AoC 2025

Note: Copilot was used to speed up coding during the creation of AoC 2025 solutions. I did not give Copilot access to the problem descriptions nor using its agent mode to solve the problems automatically.

W1 W2

Day 1 ✨

Day 8 ✨

Day 2 ✨

Day 9 ✨

Day 3 ✨

Day 10 ✨

Day 4 ✨

Day 11 ✨

Day 5 ✨

Day 12 ✨

Day 6 ✨

🎄

Day 7 ✨

AoC 2024

About

Advent of Code solutions (2024)

Topics

Resources

License

Stars

Watchers

Forks