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
|
|
|
}
|