aboutsummaryrefslogtreecommitdiff
path: root/src/2022/day22/aoc.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2023-01-03 18:00:36 +0800
committerkaiwu <kaiwu2004@gmail.com>2023-01-03 18:00:36 +0800
commit361c3bd92943a223bdf1c503592cbca4234e4200 (patch)
treeb14466d0f4b0b79bb33708b03ae349e75c770cf1 /src/2022/day22/aoc.cpp
parent25faf3d07fee691ce02181dc55c536f58dc96b59 (diff)
downloadadvent-of-code-361c3bd92943a223bdf1c503592cbca4234e4200.tar.gz
advent-of-code-361c3bd92943a223bdf1c503592cbca4234e4200.zip
2022 day22 part2
Diffstat (limited to 'src/2022/day22/aoc.cpp')
-rw-r--r--src/2022/day22/aoc.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/2022/day22/aoc.cpp b/src/2022/day22/aoc.cpp
index 4d3f441..95d0944 100644
--- a/src/2022/day22/aoc.cpp
+++ b/src/2022/day22/aoc.cpp
@@ -169,9 +169,47 @@ std::pair<int64_t, int64_t> day22(line_view file) {
cubs[1].sides[facing::up].m = &cubs[0];
cubs[1].sides[facing::up].f = facing::down;
+ // 1
+ // 2 3 4
+ // 5
+
+ // 1
+ // 3 4 6
+ // 5
+
+ // 4
+ // 3 5 6
+ // 2
+ // 1
+ // 4 6 2
+ // 5
+ // input
+ // 6
+ // 4 1 2
+ // 3
+ //
+ // 6
+ // 1 2 5
+ // 3
+ //
+ // 1
+ // 4 3 2
+ // 5
+ //
+ // 3
+ // 1 4 5
+ // 6
+ //
+ // 3
+ // 4 5 2
+ // 6
+ //
+ // 4
+ // 1 6 5
+ // 2
// facing f = right;
// for(auto& r: routes) {