Rust solutions to AoC 2018
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
aoc01 flatten aoc directories Dec 3, 2018
aoc02 flatten aoc directories Dec 3, 2018
aoc03 flatten aoc directories Dec 3, 2018
aoc04 day 4, not my best work Dec 4, 2018
aoc05 day 5 Dec 5, 2018
aoc06 add a note Dec 6, 2018
aoc07 day 7 Dec 7, 2018
aoc08 day 8 Dec 8, 2018
aoc09 day 9 Dec 9, 2018
aoc10 day 10 fixup Dec 10, 2018
aoc11 day 11 Dec 11, 2018
aoc12 day 12, oof Dec 12, 2018
aoc13 day 13 Dec 14, 2018
aoc14 day 14 Dec 14, 2018
aoc15 day 15 Dec 16, 2018
aoc16 day 16 Dec 16, 2018
aoc17 delete stuff Dec 20, 2018
aoc18 day 18 Dec 20, 2018
aoc19 day 19 Dec 19, 2018
aoc20 add comment about incorrect day 20 answer Jan 5, 2019
aoc21 day 21 Dec 21, 2018
aoc22 day 22 Dec 22, 2018
aoc23 day 23 Dec 23, 2018
aoc24 day 24 Dec 24, 2018
aoc25 day 25 Dec 25, 2018
.gitignore initial commit with day 1 complete Dec 1, 2018
COPYING add small README and license Dec 1, 2018
LICENSE-MIT add small README and license Dec 1, 2018
README.md fix run example Dec 3, 2018
UNLICENSE add small README and license Dec 1, 2018
setup-day flatten aoc directories Dec 3, 2018

README.md

BurntSushi's 2018 Advent of Code solutions

I chose to write this year's solutions in Rust. I don't have any particularly ambitious goals, but I am trying to write the solutions using idiomatic code. In particular, it should not be possible for any input to cause one of the solutions to panic.

I have not spent any time benchmarking the code.

To run a solution, cd into its directory and invoke the program with Cargo:

$ cd aoc01
$ cargo run --release < input/input.txt

If you have questions about the code, please open an issue and ask away! Beginner questions are very much welcome.