mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-26 21:30:31 +01:00
Prepare day 4
This commit is contained in:
12
2020/src/day04.rs
Normal file
12
2020/src/day04.rs
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
use std::io::Read;
|
||||||
|
|
||||||
|
use crate::Solution;
|
||||||
|
|
||||||
|
#[derive(Default)]
|
||||||
|
pub struct Day04;
|
||||||
|
|
||||||
|
impl Solution for Day04 {
|
||||||
|
fn part1(&mut self, input: &mut dyn Read) -> String {
|
||||||
|
todo!()
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -4,6 +4,7 @@ mod common;
|
|||||||
mod day01;
|
mod day01;
|
||||||
mod day02;
|
mod day02;
|
||||||
mod day03;
|
mod day03;
|
||||||
|
mod day04;
|
||||||
|
|
||||||
pub trait Solution {
|
pub trait Solution {
|
||||||
fn part1(&mut self, input: &mut dyn Read) -> String;
|
fn part1(&mut self, input: &mut dyn Read) -> String;
|
||||||
|
|||||||
Reference in New Issue
Block a user