~diego/aoc-2020

Code for the Advent of Code 2020 in Rust
Add solution for day 17
Add solution for day 15
Add solution for day 14

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~diego/aoc-2020
read/write
git@git.sr.ht:~diego/aoc-2020

You can also use your local clone with git send-email.

#Advent of Code 2020

This repository contains all the code I wrote for the Advent of Code 2020, written in Rust as a learning exercise.

#Usage

The binary can be built using:

cargo build --release

And the single binary can be used to run each of the problems (depending on the required arguments - refer to the code for more details). For example, to run the first problem with the statement input:

./aoc-2020 01 assets/01-test.txt

#Documentation

The documentation can be built similarly. To generate and open the HTML docs in a browser:

cargo doc --open