summaryrefslogtreecommitdiff
path: root/src/main.rs
blob: 0be4d7f8337b292c5b0e0f71ce94078591725fe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::fs;

mod day1;
mod day2;
mod day3;
mod day4;
mod day5;
mod day6;

fn main() {
    day1::run(fs::read_to_string("input/day1.txt").expect("Failed to read input file!"));
    day2::run(fs::read_to_string("input/day2.txt").expect("Failed to read input file!"));
    day3::run(fs::read_to_string("input/day3.txt").expect("Failed to read input file!"));
    day4::run(fs::read_to_string("input/day4.txt").expect("Failed to read input file!"));
    day5::run(fs::read_to_string("input/day5.txt").expect("Failed to read input file!"));
    day6::run(fs::read_to_string("input/day6.txt").expect("Failed to read input file!"));
}