From 675ef71289d2558ffd501eb48a674573a31f83c4 Mon Sep 17 00:00:00 2001 From: Joe Ardent Date: Fri, 9 Dec 2022 12:57:09 -0800 Subject: [PATCH] add template --- 2022-aoc/template.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 2022-aoc/template.rs diff --git a/2022-aoc/template.rs b/2022-aoc/template.rs new file mode 100644 index 0000000..1cd9e7c --- /dev/null +++ b/2022-aoc/template.rs @@ -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 { + todo!() +} + +#[aoc_run(dayDAY, part1)] +fn part1(cals: &[INPUT]) -> u32 { + 0 +} + +#[aoc_run(dayDAY, part2)] +fn part2(cals: &[INPUT]) -> u32 { + 0 +}