Wrapper repository for advend of code
- Rust 98.8%
- Shell 1.2%
| aoc2021 | ||
| aoc2022 | ||
| aoc2023 | ||
| aoc2024 | ||
| templates | ||
| .gitignore | ||
| fetch.sh | ||
| init_day.sh | ||
| init_year.sh | ||
| README.md | ||
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}