1
0
Fork 0

Using the solver for the part 1 form the second problem

This commit is contained in:
Florent DENEF 2022-12-02 16:43:29 +01:00
parent 5aa28c2b07
commit 07b0bf7558
1 changed files with 2 additions and 2 deletions

View File

@ -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}");
}