summaryrefslogtreecommitdiff
path: root/2024_rust/src/main.rs
blob: 2cc3786d1bab98bfacae221ce6db02062b49b514 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
mod day4;
use day4 as current_day;
const INPUT_FILE: &str = "inputs/4";

fn main() {
    let input = std::fs::read_to_string(INPUT_FILE).unwrap();

    println!("Result (P1): {}", current_day::p1(&input));
    println!("Result (P2): {}", current_day::p2(&input));
}