From 15b00050c8bd1f8792a78cf88b8840d1b32fa4cb Mon Sep 17 00:00:00 2001 From: Arne Dußin Date: Sat, 4 Dec 2021 12:31:11 +0100 Subject: Add solution to day 3 It's horrible, but that's what happens when you design something for the first part and then use the scraps for the second. --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 0c3f0a7..094d48b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,6 @@ mod day_1; mod day_2; +mod day_3; use std::fs::File; use std::io::{BufRead, BufReader}; @@ -28,6 +29,7 @@ fn run(day: u8, input: Vec) match day { 1 => day_1::run(input), 2 => day_2::run(input), + 3 => day_3::run(input), o => panic!("Day {} is not implemented (yet)", o), } } -- cgit v1.2.3-70-g09d2