Unfinished day 9 puzzle

master
Wynd 2023-03-27 19:11:12 +03:00
parent 68c34279aa
commit 8c40bc9475
7 changed files with 20 additions and 2 deletions

5
Cargo.lock generated
View File

@ -14,6 +14,7 @@ dependencies = [
"day6",
"day7",
"day8",
"day9",
]
[[package]]
@ -51,6 +52,10 @@ dependencies = [
"grid",
]
[[package]]
name = "day9"
version = "0.1.0"
[[package]]
name = "grid"
version = "0.9.0"

View File

@ -18,4 +18,5 @@ day4 = { path = "./day4" }
day5 = { path = "./day5" }
day6 = { path = "./day6" }
day7 = { path = "./day7" }
day8 = { path = "./day8" }
day8 = { path = "./day8" }
day9 = { path = "./day9" }

8
day9/Cargo.toml 100644
View File

@ -0,0 +1,8 @@
[package]
name = "day9"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

View File

View File

4
day9/src/lib.rs 100644
View File

@ -0,0 +1,4 @@
pub fn start() {
let input = include_str!("input.txt").replace("\r", "");
}

View File

@ -1,4 +1,4 @@
fn main() {
day8::start();
day9::start();
}