Wrapper repository for advend of code
  • Rust 98.8%
  • Shell 1.2%
Find a file
2024-12-10 17:36:48 +01:00
aoc2021 Allow running all days 2023-11-30 15:13:29 +01:00
aoc2022 Allow running all days 2023-11-30 15:13:29 +01:00
aoc2023 Day 13 solution 2023-12-21 14:34:33 +01:00
aoc2024 Day 10 solved 2024-12-10 17:36:48 +01:00
templates Update tests / test input 2023-12-04 00:02:13 +01:00
.gitignore Ignore target directory in all directories 2024-12-03 15:06:20 +01:00
fetch.sh Let fetch create directories 2023-11-30 17:21:53 +01:00
init_day.sh Update template / prepare for wrapper macro 2023-12-01 00:50:50 +01:00
init_year.sh Fix templates for running all solutions 2023-12-01 13:38:00 +01:00
README.md Update README.md 2023-12-03 20:44:06 +01:00

advent-of-code

Advend of code in RUST

running

cargo r --release -p aoc{YEAR} --bin day{DAY}
cargo r --release -p aoc{YEAR}

Get puzzle input

Get your session id from your browser developer tools

AOC_SESSION={SESSION} ./fetch.sh {YEAR} {DAY}

Getting started

Init a new year

./init_year.sh {YEAR}

Init a new day (creates a new day binary source and downloads the input file)

AOC_SESSION={SESSION} ./init_day.sh {YEAR} {DAY}