[TASK] Solved day 3

This commit is contained in:
2020-12-03 21:12:11 +01:00
parent 4cc35ef3e5
commit 7ae633a16e
4 changed files with 389 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ use std::time::Instant;
mod util;
mod day1;
mod day2;
mod day3;
fn main() {
@@ -16,12 +17,14 @@ fn main() {
match args[day_arg_idx.unwrap() + 1].parse::<u8>().unwrap() {
1 => day1::solve(),
2 => day2::solve(),
3 => day3::solve(),
_ => println!("This day is not yet implemented")
}
} else {
// Solve all days:
day1::solve();
day2::solve();
day3::solve();
}
println!("Execution took {} μs", now.elapsed().as_micros());