diff options
author | Martin Ashby <martin@ashbysoft.com> | 2022-12-05 22:46:27 +0000 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2022-12-05 22:46:27 +0000 |
commit | 4fcbe72a62529745a85011552ae1a6659d770f93 (patch) | |
tree | 2bc394ad69d605702440cb0eb8cdcf910536efee /src/main.rs | |
parent | 11a3e07268362bc1ee61b9d3f5fa6db6e12ac707 (diff) | |
download | aoc2022-4fcbe72a62529745a85011552ae1a6659d770f93.tar.gz aoc2022-4fcbe72a62529745a85011552ae1a6659d770f93.tar.bz2 aoc2022-4fcbe72a62529745a85011552ae1a6659d770f93.tar.xz aoc2022-4fcbe72a62529745a85011552ae1a6659d770f93.zip |
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
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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!")); } |