add readme

This commit is contained in:
Stefan Bühler 2020-12-26 10:46:11 +01:00
parent ca4fb1d3ad
commit 7ba188a098

12
README.md Normal file
View File

@ -0,0 +1,12 @@
# Advent of Code 2020
Solutions to [all 25 puzzles](https://adventofcode.com/2020) (with the inputs I was given).
Run program for a specific day (e.g. day 25):
cargo run --release --bin day25
Run and time all solutions:
cargo build --release
/usr/bin/time sh -c 'for d in `seq 1 25`; do echo "----- DAY $d -----"; ./target/release/day$d; echo "----- END DAY $d -----"; done'