Skip to content

Advent of Code 2024 solutions (Python)

License

Notifications You must be signed in to change notification settings

jixunmoe/aoc-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

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