Using the solver for the part 1 form the second problem
This commit is contained in:
parent
5aa28c2b07
commit
07b0bf7558
@ -1,10 +1,10 @@
|
||||
use advent_of_code::prob1;
|
||||
use advent_of_code::{prob1, prob2};
|
||||
|
||||
fn main() {
|
||||
let args: Vec<String> = std::env::args().collect();
|
||||
let file_path = args
|
||||
.get(1)
|
||||
.expect("Please provide an argument on command-line.");
|
||||
let max = prob1::solve_part2(file_path);
|
||||
let max = prob2::solve_part1(file_path);
|
||||
println!("{max}");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user