aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-12-08 14:27:46 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-12-08 14:27:46 +0800
commitb2004336e7a9971b969de0302cf58af2d08c052a (patch)
treea34bb524dc2fd2ee17cade10bbec749e383dbaa0 /src
parentc3a3e3fe4f98931a1de9ea198119a1f0bf71a320 (diff)
downloadadvent-of-code-b2004336e7a9971b969de0302cf58af2d08c052a.tar.gz
advent-of-code-b2004336e7a9971b969de0302cf58af2d08c052a.zip
2022 day9 setup
Diffstat (limited to 'src')
-rw-r--r--src/2022/day9/README.md0
-rw-r--r--src/2022/day9/aoc.cpp8
-rw-r--r--src/2022/day9/aoc.h6
-rw-r--r--src/2022/day9/input0
-rw-r--r--src/2022/day9/input00
-rw-r--r--src/CMakeLists.txt1
6 files changed, 15 insertions, 0 deletions
diff --git a/src/2022/day9/README.md b/src/2022/day9/README.md
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/2022/day9/README.md
diff --git a/src/2022/day9/aoc.cpp b/src/2022/day9/aoc.cpp
new file mode 100644
index 0000000..8122f1e
--- /dev/null
+++ b/src/2022/day9/aoc.cpp
@@ -0,0 +1,8 @@
+#include "aoc.h"
+
+namespace aoc2022 {
+std::pair<int,int> day9(line_view file) {
+ return {0, 0};
+}
+
+}
diff --git a/src/2022/day9/aoc.h b/src/2022/day9/aoc.h
new file mode 100644
index 0000000..894ddd9
--- /dev/null
+++ b/src/2022/day9/aoc.h
@@ -0,0 +1,6 @@
+#include "common.h"
+namespace aoc2022 {
+
+std::pair<int,int> day9(line_view file);
+
+}
diff --git a/src/2022/day9/input b/src/2022/day9/input
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/2022/day9/input
diff --git a/src/2022/day9/input0 b/src/2022/day9/input0
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/2022/day9/input0
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4da27a3..1515b44 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -91,6 +91,7 @@ set(SOLUTION_FILES
"2022/day6/aoc.cpp"
"2022/day7/aoc.cpp"
"2022/day8/aoc.cpp"
+ "2022/day9/aoc.cpp"
)
add_library(solution SHARED ${SOLUTION_FILES})