From 4fcbe72a62529745a85011552ae1a6659d770f93 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Mon, 5 Dec 2022 22:46:27 +0000 Subject: day5 Not super happy with this, fell back to iterative programming pretty heavily (: Also a ton of .unwrap(), but this is an artifical problem not a real world --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index c257999..12aa4b2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,12 +3,13 @@ use std::fs; mod day1; mod day2; mod day3; - mod day4; +mod day5; 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!")); } -- cgit v1.2.3-ZIG