day_10: init
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
// mod fri_06;
|
||||
// mod sat_07;
|
||||
// mod sun_08;
|
||||
mod mon_09;
|
||||
// mod mon_09;
|
||||
mod tue_10;
|
||||
mod types;
|
||||
mod utils;
|
||||
|
||||
@@ -73,6 +74,10 @@ pub fn historian_hysteria() {
|
||||
// );
|
||||
|
||||
// Monday 09
|
||||
let disk_checksum = mon_09::disk_fragmenter("./assets/day_9_disk_input");
|
||||
println!("The disk checksum is {}", disk_checksum);
|
||||
// let disk_checksum = mon_09::disk_fragmenter("./assets/day_9_disk_input");
|
||||
// println!("The disk checksum is {}", disk_checksum);
|
||||
|
||||
// Tuesday 10
|
||||
let trailhead_score = tue_10::hoof_it(".");
|
||||
println!("The trail head sum score is {}", trailhead_score);
|
||||
}
|
||||
|
||||
5
src/advent_of_code/tue_10.rs
Normal file
5
src/advent_of_code/tue_10.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
use super::*;
|
||||
|
||||
pub fn hoof_it(input: &str) -> usize {
|
||||
0
|
||||
}
|
||||
@@ -76,3 +76,6 @@ pub type AntinodeList = HashSet<Antinode>;
|
||||
pub type Block = Option<usize>;
|
||||
pub type DiskMap = Vec<Block>;
|
||||
pub type DiskChecksum = usize;
|
||||
|
||||
// Hoof it
|
||||
pub type TrailScore = usize;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#![allow(dead_code)]
|
||||
mod advent_of_code;
|
||||
|
||||
fn main() {
|
||||
|
||||
Reference in New Issue
Block a user