From ae98bcdf3f35dca1969c5b1b928dba82d861672f Mon Sep 17 00:00:00 2001 From: David Oberacker Date: Fri, 8 Dec 2023 21:54:23 +0100 Subject: [PATCH] Implement day06 --- day06/resources/input_part1.txt | 2 ++ day06/resources/input_part2.txt | 2 ++ day06/resources/test_input01.txt | 2 ++ day06/resources/test_input02.txt | 2 ++ day06/src/bin/day06_part1.rs | 3 +++ day06/src/bin/day06_part2.rs | 3 +++ day06/src/lib.rs | 0 7 files changed, 14 insertions(+) create mode 100644 day06/resources/input_part1.txt create mode 100644 day06/resources/input_part2.txt create mode 100644 day06/resources/test_input01.txt create mode 100644 day06/resources/test_input02.txt create mode 100644 day06/src/bin/day06_part1.rs create mode 100644 day06/src/bin/day06_part2.rs create mode 100644 day06/src/lib.rs diff --git a/day06/resources/input_part1.txt b/day06/resources/input_part1.txt new file mode 100644 index 0000000..08fcbc9 --- /dev/null +++ b/day06/resources/input_part1.txt @@ -0,0 +1,2 @@ +Time: 44 70 70 80 +Distance: 283 1134 1134 1491 \ No newline at end of file diff --git a/day06/resources/input_part2.txt b/day06/resources/input_part2.txt new file mode 100644 index 0000000..08fcbc9 --- /dev/null +++ b/day06/resources/input_part2.txt @@ -0,0 +1,2 @@ +Time: 44 70 70 80 +Distance: 283 1134 1134 1491 \ No newline at end of file diff --git a/day06/resources/test_input01.txt b/day06/resources/test_input01.txt new file mode 100644 index 0000000..b39f49d --- /dev/null +++ b/day06/resources/test_input01.txt @@ -0,0 +1,2 @@ +Time: 7 15 30 +Distance: 9 40 200 \ No newline at end of file diff --git a/day06/resources/test_input02.txt b/day06/resources/test_input02.txt new file mode 100644 index 0000000..b39f49d --- /dev/null +++ b/day06/resources/test_input02.txt @@ -0,0 +1,2 @@ +Time: 7 15 30 +Distance: 9 40 200 \ No newline at end of file diff --git a/day06/src/bin/day06_part1.rs b/day06/src/bin/day06_part1.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/day06/src/bin/day06_part1.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/day06/src/bin/day06_part2.rs b/day06/src/bin/day06_part2.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/day06/src/bin/day06_part2.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/day06/src/lib.rs b/day06/src/lib.rs new file mode 100644 index 0000000..e69de29