2022-12-04 07:41:09 +01:00
|
|
|
mod part1;
|
|
|
|
mod part2;
|
|
|
|
mod utilities;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let _input = include_str!("./input.txt");
|
|
|
|
let _structured_input = utilities::parse(_input);
|
|
|
|
|
|
|
|
println!("Part One");
|
2022-12-05 08:48:20 +01:00
|
|
|
println!("Result: {:?}", part1::part1(&_structured_input));
|
2022-12-04 07:41:09 +01:00
|
|
|
|
|
|
|
println!("Part Two");
|
2022-12-05 08:48:20 +01:00
|
|
|
println!("Result: {:?}", part2::part2(&_structured_input));
|
2022-12-04 07:41:09 +01:00
|
|
|
}
|