day10 part 2.

This commit is contained in:
Gabe Venberg 2023-12-20 13:53:17 -06:00
parent 711dbb63d2
commit 79657a2f91
8 changed files with 348 additions and 23 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,5 +1,6 @@
use crate::parse::*
pub fn part1() -> usize {
use crate::parse::*;
pub fn part1(input: &StructuredInput) -> usize {
unimplemented!()
}

View file

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