This repository contains solutions for the Advent of Code challenges, implemented in Rust.
-
Clone the repository:
git clone https://github.com/ritzau/aoc-rust.git cd aoc-rust -
Prepare the session file:
- Copy your session cookie from the browser and paste it into
cache/session.txt. - Or add the files manually to the cache named:
cache/aoc/2024/01.txt ...
- Copy your session cookie from the browser and paste it into
-
Run:
- Run the project (defaulting to s24):
cargo run --release
- Run the s15:
cargo run -p aoc15 --release
- Run the project (defaulting to s24):