Find a file
2023-12-02 13:51:15 +01:00
bash [rust] Solve Day 2 2023-12-02 13:51:15 +01:00
haskell [haskell] Solve Day 2 2023-12-02 09:22:52 +01:00
input [haskell] Solve Day 2 2023-12-02 09:22:52 +01:00
rust [rust] Solve Day 2 2023-12-02 13:51:15 +01:00
.dir-locals.el [haskell] Solve Day 1 2023-12-01 12:01:23 +01:00
.envrc [haskell] Solve Day 1 2023-12-01 12:01:23 +01:00
.gitignore [rust] Solve Day 1 2023-12-01 21:23:26 +01:00
answers.nix [haskell] Solve Day 2 2023-12-02 09:22:52 +01:00
cabal.project [haskell] Solve Day 1 2023-12-01 12:01:23 +01:00
Cargo.lock [rust] Solve Day 1 2023-12-01 21:23:26 +01:00
Cargo.toml [rust] Solve Day 1 2023-12-01 21:23:26 +01:00
flake.lock [haskell] Solve Day 1 2023-12-01 12:01:23 +01:00
flake.nix [rust] Solve Day 1 2023-12-01 21:23:26 +01:00
hls.sh [haskell] Solve Day 1 2023-12-01 12:01:23 +01:00
README.org [rust] Solve Day 1 2023-12-01 21:23:26 +01:00

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>