mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-26 13:20:32 +01:00
Implement day 15 of 2016.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user