day_10: init

This commit is contained in:
dqnid committed 2024-12-13 09:29:46 +01:00
1 parent 2312f2a549
commit d25a2cfa99
5 files changed
+18 -4

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ https://adventofcode.com/2024
| 07 | Bridge Repair | :pushpin: | :pushpin: | Equation parsing |
| 08 | Resonant Collinearity | :pushpin: | | Matrix exploration |
| 09 | Disk fragmenter | :pushpin: | | Array indexing |
| 10 | | | | |
| 10 | Hoof It | | | |
| 11 | | | | |
| 12 | | | | |
| 13 | | | | |
+8 -3
View File
@@ -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
View File
@@ -0,0 +1,5 @@
use super::*;
pub fn hoof_it(input: &str) -> usize {
0
}
+3
View File
@@ -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
View File
@@ -1,3 +1,4 @@
#![allow(dead_code)]
mod advent_of_code;
fn main() {