From f1237b2dbfdd5940ea6474581574be64d818d355 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Thu, 13 Dec 2018 12:19:32 +0100 Subject: Day 13 part 1 --- 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 daafaa4..27125d3 100644 --- a/2018/src/main.rs +++ b/2018/src/main.rs @@ -17,8 +17,9 @@ mod day9; mod day10; mod day11; mod day12; +mod day13; -static NUM_DAYS: i32 = 12; +static NUM_DAYS: i32 = 13; fn day_switch(day: i32, reader: T) -> io::Result<(String, String)> { match day { @@ -34,6 +35,7 @@ fn day_switch(day: i32, reader: T) -> io::Result<(String, String)> { 10 => day10::main(reader), 11 => day11::main(reader), 12 => day12::main(reader), + 13 => day13::main(reader), _ => Err(Error::new(ErrorKind::Other, "Invalid day")) } } -- cgit v1.2.3-70-g09d2