Better
This commit is contained in:
parent
1e7a441ba8
commit
3af4d351a3
@ -1,10 +1,10 @@
|
|||||||
use _1_calorie_counting::prob1::solve;
|
use _1_calorie_counting::prob1;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let args: Vec<String> = std::env::args().collect();
|
let args: Vec<String> = std::env::args().collect();
|
||||||
let file_path = args
|
let file_path = args
|
||||||
.get(1)
|
.get(1)
|
||||||
.expect("Please provide an argument on command-line.");
|
.expect("Please provide an argument on command-line.");
|
||||||
let max = solve(file_path);
|
let max = prob1::solve(file_path);
|
||||||
println!("{max}");
|
println!("{max}");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user