Skip to content

Latest commit

 

History

History

y22

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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