Implement day 15 of 2016.

This commit is contained in:
2018-11-12 15:22:37 +01:00
parent 42d075f8f4
commit 6ad8f4cb56
5 changed files with 108 additions and 0 deletions

View File

@@ -1,14 +1,17 @@
extern crate clap;
extern crate regex;
use clap::{Arg, App};
use std::fs;
use std::io;
pub mod common;
pub mod day1;
pub mod day15;
fn get_impl(day: i32) -> Box<common::Solution> {
match day {
1 => { Box::new(day1::Day1::new()) }
15 => { Box::new(day15::Day15::new()) }
_ => {
panic!("Unimplemented day {}", day)
}