add template
This commit is contained in:
parent
f8e2ed0cb7
commit
675ef71289
1 changed files with 18 additions and 0 deletions
18
2022-aoc/template.rs
Normal file
18
2022-aoc/template.rs
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
use aoc_runner_derive::{aoc as aoc_run, aoc_generator};
|
||||||
|
|
||||||
|
type INPUT = char;
|
||||||
|
|
||||||
|
#[aoc_generator(dayDAY)]
|
||||||
|
fn parse_input(input: &str) -> Vec<INPUT> {
|
||||||
|
todo!()
|
||||||
|
}
|
||||||
|
|
||||||
|
#[aoc_run(dayDAY, part1)]
|
||||||
|
fn part1(cals: &[INPUT]) -> u32 {
|
||||||
|
0
|
||||||
|
}
|
||||||
|
|
||||||
|
#[aoc_run(dayDAY, part2)]
|
||||||
|
fn part2(cals: &[INPUT]) -> u32 {
|
||||||
|
0
|
||||||
|
}
|
Loading…
Reference in a new issue