This commit is contained in:
2022-12-02 20:18:07 +01:00
commit a1807826ae
8 changed files with 2328 additions and 0 deletions

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

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

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

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