Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.12 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.12 KB

My Advent of Code solutions, implemented in Rust

What is that?

Advent of Code is annual Advent calendar of small programming puzzles.

How do I run puzzle solutions?

Each package in the workspace represents some year's puzzle calendar. Puzzle binaries are located at src/bin/ for each year's package. You need to provide the corresponding day's input path for each puzzle binary.

You can run any inplemented puzzle solution using the following format:

cargo run --package y`year` --bin day`day`_`part` `input_path`

For example, year 2022, day 01, part 1, input path ./day01:

cargo run --package y2022 --bin day01_1 ./day01

Where can I get the puzzle texts and inputs?

From Advent of Code website directly. Puzzle texts and inputs are not licensed for reproduction or distribution. See the legal notice on adventofcode.com > About > Legal. For example, you can get day 1 puzzle text (2022) from: https://adventofcode.com/2022/day/1, and the input from: https://adventofcode.com/2022/day/1/input.

License

MIT licensed.