From 08478800e39d78eb48121364e1018c59f4886a5e Mon Sep 17 00:00:00 2001 From: Candygoblen123 Date: Mon, 4 Dec 2023 15:12:26 -0500 Subject: [PATCH] day 3 init --- day3/Cargo.lock | 7 +++++++ day3/Cargo.toml | 8 ++++++++ day3/input.txt | 10 ++++++++++ day3/src/main.rs | 3 +++ 4 files changed, 28 insertions(+) create mode 100644 day3/Cargo.lock create mode 100644 day3/Cargo.toml create mode 100644 day3/input.txt create mode 100644 day3/src/main.rs diff --git a/day3/Cargo.lock b/day3/Cargo.lock new file mode 100644 index 0000000..4104d70 --- /dev/null +++ b/day3/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "day3" +version = "0.1.0" diff --git a/day3/Cargo.toml b/day3/Cargo.toml new file mode 100644 index 0000000..898e70d --- /dev/null +++ b/day3/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "day3" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/day3/input.txt b/day3/input.txt new file mode 100644 index 0000000..624ea4f --- /dev/null +++ b/day3/input.txt @@ -0,0 +1,10 @@ +467..114.. +...*...... +..35..633. +......#... +617*...... +.....+.58. +..592..... +......755. +...$.*.... +.664.598.. \ No newline at end of file diff --git a/day3/src/main.rs b/day3/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/day3/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}