Skip to content

AndrewReisdorph-BioRad/aoc-2023

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AOC 2022

This repo contains solutions for the 2022 Advent of Code in Rust.

Running solutions

cargo run --bin aoc -- day0 --input test.txt

Adding a new day

aoc/src/commands/day0.rs is a template for all coming days create quick and easy subcommands for running solutions.

Copy the template to the new day:

cargo xtask new-day -n day<?>

Make the new day public in the aoc/src/commands/mod.rs

Add the new day to the SubCommand struct in aoc/src/main.rs

Some days will have multiple parts, from experience you should create a new subcommand for the second part, EX day2b.rs, and modify from there instead of changing your answer for part one as some of the next days may rely on day1 part a.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%