krishnakumarg1984 / advent-of-code-2022

πŸŽ„ My Advent of Code solutions in Rust. http://adventofcode.com/2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2022 in Rust

My Advent of Code 2022 solutions in the Rust programming language. This repository holds a separate Rust project for each day and part.

Run solutions

Each Rust project contains a input.txt file, holding the puzzle input. Simply run the project to see the solution appear.

# Switch to day 1a, and run it
cd day01a
cargo +nightly run --release

# or run everything in parallel
cd ../runner
cargo +nightly run --release --bin runner-par

# or benchmark every day
cd ../runner
cargo +nightly run --release --bin bench

Some solutions require Rust Nightly, that's why +nightly is included.

Credits

This is the fork of the Advent of Code 2021 template from the repository: https://github.com/timvisee/advent-of-code-2021

About

πŸŽ„ My Advent of Code solutions in Rust. http://adventofcode.com/2022

License:GNU General Public License v3.0


Languages

Language:Rust 100.0%