This commit is contained in:
2022-12-02 20:52:02 +01:00
parent a1807826ae
commit d1d89991ab
6 changed files with 2633 additions and 2 deletions

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

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

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

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