Skip to content

Latest commit

 

History

History
25 lines (24 loc) · 542 Bytes

README.md

File metadata and controls

25 lines (24 loc) · 542 Bytes

Advent of code solutions 2022

Input files

Input files must be placed in a directory named res next to the src directory and have the format day[x].txt. Like this:

├── Cargo.toml
├── res
│   ├── day1.txt
│   ...
│   └── day25.txt
└── src
    └── bin
        ├── day1.rs
        ...
        └── day25.rs

How to run

Run with cargo like this

cargo run --bin day$X.rs

Where $X is the day you wish to run, eg. for day 1:

cargo run --bin day1.rs