feat: add template
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
a13721bcb5
commit
e58483770f
1 changed files with 27 additions and 0 deletions
27
src/bin/.dayXX.rs
Normal file
27
src/bin/.dayXX.rs
Normal 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);
|
Loading…
Reference in a new issue