This commit is contained in:
2022-12-04 14:51:24 +01:00
parent 726f75d327
commit a1c99e8268
7 changed files with 1115 additions and 0 deletions

7
src/bin/day04_1.rs Normal file
View File

@@ -0,0 +1,7 @@
use aoc2022::day04::process_part_1;
use std::fs;
fn main() {
let file = fs::read_to_string("./inputs/day4.txt").unwrap();
println!("{}", process_part_1(&file));
}

7
src/bin/day04_2.rs Normal file
View File

@@ -0,0 +1,7 @@
use aoc2022::day04::process_part_2;
use std::fs;
fn main() {
let file = fs::read_to_string("./inputs/day4.txt").unwrap();
println!("{}", process_part_2(&file));
}