This repository contains my solutions for the Advent of Code 2021 challenges. They are primarily written in Rust, purely because I like messing around with that programming language and I want to familiarize myself with it more. I've been dealing with a lot of complex C++ code at work recently, so I'm treating this as therapy.
In debug mode:
cargo build
In release mode:
cargo build --release
In debug mode:
cargo build --bin 2021_12_01_c2
In release mode:
cargo build --release --bin 2021_12_01_c2
In debug mode:
cargo run --bin 2021_12_01_c2
In release mode:
cargo run --release --bin 2021_12_01_c2
Alternatively, after building each challenge you can run the executables directly.
They should be located in the target/debug
directory for debug builds, and target/release
for
release buils.
Executables are named according to the date of the challenge and the number of the challenge:
YYYY_MM_DD_CN