Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

ashfordneil/advent-of-code-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code, 2021

This is my first attempt in a few years, but we'll see how it goes.

Running a Solver

Everything is written in rust, so make sure you have that installed and up-to-date. By default, it expects you to populate the ./data directory with files like day-one.txt and so on, but you can just add a file-name to the command below and it'll read the input from there instead.

$ cargo run --bin dayX
$ # alternatively, you can add an argument
$ cargo run --bin dayX path/to/input/file.txt

Running the Tests

If advent of code is going to give me an example input and answer, I'm going to plug it into a testing framework to make sure my code works.

$ cargo test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages