1
0
Fork 0

feat: add template

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2023-12-04 11:01:17 +01:00
parent a13721bcb5
commit e58483770f
Signed by: mfocko
GPG key ID: 7C47D46246790496

27
src/bin/.dayXX.rs Normal file
View file

@ -0,0 +1,27 @@
use aoc_2023::*;
type Output1 = i32;
type Output2 = Output1;
struct DayXX {}
impl Solution<Output1, Output2> for DayXX {
fn new<P: AsRef<Path>>(pathname: P) -> Self {
let lines: Vec<String> = file_to_lines(pathname);
todo!()
}
fn part_1(&mut self) -> Output1 {
todo!()
}
fn part_2(&mut self) -> Output2 {
todo!()
}
}
fn main() -> Result<()> {
DayXX::main()
}
test_sample!(day_XX, DayXX, 0, 0);