1
0
This commit is contained in:
Pcornat 2022-12-01 22:21:04 +01:00
parent 1e7a441ba8
commit 3af4d351a3
Signed by: Pcornat
GPG Key ID: 2F3932FF46D9ECA0

View File

@ -1,10 +1,10 @@
use _1_calorie_counting::prob1::solve;
use _1_calorie_counting::prob1;
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 = solve(file_path);
let max = prob1::solve(file_path);
println!("{max}");
}