finished day one for real for real

This commit is contained in:
2024-12-03 02:08:34 +01:00
parent f5a652ed8c
commit d653fcf6c4
5 changed files with 59 additions and 14 deletions

View File

@@ -1,5 +1,16 @@
mod sun_01;
mod types;
mod utils;
use types::*;
pub fn today() {
let key = sun_01::sun_01("./assets/day_1_input").unwrap();
historian_hysteria()
}
pub fn historian_hysteria() {
let key = sun_01::sun_01("./assets/day_1_input").unwrap();
println!("The key is: {key}");
let similarity = sun_01::get_similarity("./assets/day_1_input");
println!("The similarity is: {similarity}");
}