From 50273ff5b02b11ac59ce7081695d927566ff4374 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sun, 9 Dec 2018 11:44:17 +0100 Subject: Day 9 --- 2018/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '2018/src/main.rs') diff --git a/2018/src/main.rs b/2018/src/main.rs index 8d2f368..1e01f55 100644 --- a/2018/src/main.rs +++ b/2018/src/main.rs @@ -17,8 +17,9 @@ mod day5; mod day6; mod day7; mod day8; +mod day9; -static NUM_DAYS: i32 = 8; +static NUM_DAYS: i32 = 9; fn day_switch(day: i32, reader: T) -> io::Result<(String, String)> { match day { @@ -30,6 +31,7 @@ fn day_switch(day: i32, reader: T) -> io::Result<(String, String)> { 6 => day6::main(reader), 7 => day7::main(reader), 8 => day8::main(reader), + 9 => day9::main(reader), _ => Err(Error::new(ErrorKind::Other, "Invalid day")) } } -- cgit v1.2.3-70-g09d2