From 9fe3d34be065fe48be876c703668cbd7984f86a8 Mon Sep 17 00:00:00 2001 From: David Oberacker Date: Tue, 12 Dec 2023 00:36:30 +0100 Subject: [PATCH] Implement day09 --- day09/src/lib.rs | 2 ++ day10/resources/input.txt | 0 day10/resources/test_input01.txt | 0 day10/resources/test_input02.txt | 0 day10/resources/test_input03.txt | 0 day10/resources/test_input04.txt | 0 day10/resources/test_input05.txt | 0 day10/resources/test_input06.txt | 0 day10/src/bin/day10_part1.rs | 3 +++ day10/src/bin/day10_part2.rs | 3 +++ day10/src/lib.rs | 0 11 files changed, 8 insertions(+) create mode 100644 day10/resources/input.txt create mode 100644 day10/resources/test_input01.txt create mode 100644 day10/resources/test_input02.txt create mode 100644 day10/resources/test_input03.txt create mode 100644 day10/resources/test_input04.txt create mode 100644 day10/resources/test_input05.txt create mode 100644 day10/resources/test_input06.txt create mode 100644 day10/src/bin/day10_part1.rs create mode 100644 day10/src/bin/day10_part2.rs create mode 100644 day10/src/lib.rs diff --git a/day09/src/lib.rs b/day09/src/lib.rs index f0823c0..d96de5a 100644 --- a/day09/src/lib.rs +++ b/day09/src/lib.rs @@ -82,3 +82,5 @@ pub fn get_result_path2(data: &Vec>) -> Result { } Ok(results.iter().sum::()) } + + diff --git a/day10/resources/input.txt b/day10/resources/input.txt new file mode 100644 index 0000000..e69de29 diff --git a/day10/resources/test_input01.txt b/day10/resources/test_input01.txt new file mode 100644 index 0000000..e69de29 diff --git a/day10/resources/test_input02.txt b/day10/resources/test_input02.txt new file mode 100644 index 0000000..e69de29 diff --git a/day10/resources/test_input03.txt b/day10/resources/test_input03.txt new file mode 100644 index 0000000..e69de29 diff --git a/day10/resources/test_input04.txt b/day10/resources/test_input04.txt new file mode 100644 index 0000000..e69de29 diff --git a/day10/resources/test_input05.txt b/day10/resources/test_input05.txt new file mode 100644 index 0000000..e69de29 diff --git a/day10/resources/test_input06.txt b/day10/resources/test_input06.txt new file mode 100644 index 0000000..e69de29 diff --git a/day10/src/bin/day10_part1.rs b/day10/src/bin/day10_part1.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/day10/src/bin/day10_part1.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/day10/src/bin/day10_part2.rs b/day10/src/bin/day10_part2.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/day10/src/bin/day10_part2.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/day10/src/lib.rs b/day10/src/lib.rs new file mode 100644 index 0000000..e69de29