242989bb95
This should let me make a cross-day library.
17 lines
363 B
Rust
17 lines
363 B
Rust
mod part1;
|
|
mod part2;
|
|
mod utilities;
|
|
|
|
type StructuredInput = Vec<Vec<u8>>;
|
|
|
|
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");
|
|
println!("Result: {}", part2::part2(&structured_input));
|
|
}
|