3/4 of the way through day 1.
This commit is contained in:
parent
ea7220bb00
commit
50fbfd5438
10 changed files with 2397 additions and 4 deletions
14
src/day01/solve.rs
Normal file
14
src/day01/solve.rs
Normal file
|
@ -0,0 +1,14 @@
|
|||
mod part1;
|
||||
mod part2;
|
||||
mod parse;
|
||||
|
||||
fn main() {
|
||||
let _input = include_str!("./input.txt");
|
||||
let _structured_input = parse::parse(_input);
|
||||
|
||||
println!("Part One");
|
||||
println!("Result: {}", part1::part1(&_structured_input));
|
||||
|
||||
println!("Part Two");
|
||||
println!("Result: {}", part2::part2(&_structured_input));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue