advent_of_code_2022/days/day08/src/main.rs

17 lines
363 B
Rust
Raw Normal View History

2023-11-19 03:16:06 +01:00
mod part1;
mod part2;
mod utilities;
2023-11-19 03:43:42 +01:00
type StructuredInput = Vec<Vec<u8>>;
2023-11-19 03:16:06 +01:00
fn main() {
let input = include_str!("./input.txt");
let structured_input = utilities::parse(input);
println!("Part One");
println!("Result: {}", part1::part1(&structured_input));
println!("Part Two");
2023-11-19 03:43:42 +01:00
println!("Result: {}", part2::part2(&structured_input));
2023-11-19 03:16:06 +01:00
}