mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-26 05:10:32 +01:00
230 byte overhead is worth it to avoid conversions and potential indexing errors
Advent of Code 2022
Another year and another Advent of Code in Rust. Because last year went so well, this time we'll be aiming for a total time of under 250ms.
$ target/release/aoc_2022 --help
Advent of Code 2022 runner
Usage: aoc_2022 [OPTIONS] <DAY>
Arguments:
<DAY> Which day to run
Options:
-t, --time Print time taken
-2, --part2 Run part 2 instead of part 1
-i, --input <INPUT> Read input from the given file instead of stdin
-h, --help Print help information