Skip to content

jo12bar/advent-of-code-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2021

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.

Building

...everything

In debug mode:

cargo build

In release mode:

cargo build --release

...just a single challenge

In debug mode:

cargo build --bin 2021_12_01_c2

In release mode:

cargo build --release --bin 2021_12_01_c2

Running

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.

Executable naming

Executables are named according to the date of the challenge and the number of the challenge:

YYYY_MM_DD_CN

Releases

No releases published

Packages

No packages published

Languages