mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-26 13:20:32 +01:00
Move Assembunny CPU to common.
This commit is contained in:
@@ -7,12 +7,14 @@ use std::io;
|
||||
|
||||
pub mod common;
|
||||
pub mod day1;
|
||||
pub mod day12;
|
||||
pub mod day15;
|
||||
pub mod day16;
|
||||
|
||||
fn get_impl(day: i32) -> Box<common::Solution> {
|
||||
match day {
|
||||
1 => { Box::new(day1::Day1::new()) }
|
||||
12 => { Box::new(day12::Day12::new()) }
|
||||
15 => { Box::new(day15::Day15::new()) }
|
||||
16 => { Box::new(day16::Day16::new()) }
|
||||
_ => {
|
||||
|
||||
Reference in New Issue
Block a user