bash | ||
haskell | ||
input | ||
rust | ||
.dir-locals.el | ||
.envrc | ||
.gitignore | ||
answers.nix | ||
cabal.project | ||
Cargo.lock | ||
Cargo.toml | ||
flake.lock | ||
flake.nix | ||
hls.sh | ||
README.org |
Advent of Code 2023
All programs read input from stdin
and print output to stdout
. The output will be printed in this format:
Part 1 Answer: <answer1>
Part 2 Answer: <answer2>
Haskell
Run it like this:
cabal run aoc2023 -- day<n> < ./input/day<n>
Bash
Run it like this:
./bash/main.sh day<n> < ./input/day<n>
Rust
Run it like this:
cargo run -- day<n> < ./input/day<n>