Day03 *finally* done.

This commit is contained in:
Gabe Venberg 2023-12-15 16:32:29 -06:00
parent bd5d5ae901
commit bb245b8711
12 changed files with 1002 additions and 56 deletions

View file

@ -7,8 +7,8 @@ fn main() {
let structured_input = parse::parse(input);
println!("Part One");
println!("Result: {}", part1::part1());
println!("Result: {}", part1::part1(&structured_input));
println!("Part Two");
println!("Result: {}", part2::part2());
println!("Result: {}", part2::part2(&structured_input));
}

View file

@ -1,4 +1,6 @@
pub fn parse(input: &str) -> usize {
pub type StructuredInput = usize;
pub fn parse(input: &str) -> StructuredInput {
unimplemented!()
}

View file

@ -1,6 +1,6 @@
use crate::parse::*;
pub fn part1() -> usize {
pub fn part1(input: &StructuredInput) -> usize {
unimplemented!()
}

View file

@ -1,6 +1,6 @@
use crate::parse::*;
pub fn part2() -> usize {
pub fn part2(input: &StructuredInput) -> usize {
unimplemented!()
}