aboutsummaryrefslogtreecommitdiff
path: root/2021/18/example2
diff options
context:
space:
mode:
authorJulien Dessaux2021-12-20 23:15:56 +0100
committerJulien Dessaux2021-12-20 23:16:51 +0100
commit11088124920c7bc8bd1c54c4265e9dcafb7a024b (patch)
treed9743eaf93ad6abd7ae46a8abda07e19a0527ad6 /2021/18/example2
parentAdded solutions for 17th day: target practice (diff)
downloadadvent-of-code-11088124920c7bc8bd1c54c4265e9dcafb7a024b.tar.gz
advent-of-code-11088124920c7bc8bd1c54c4265e9dcafb7a024b.tar.bz2
advent-of-code-11088124920c7bc8bd1c54c4265e9dcafb7a024b.zip
Added solutions for 18th day: snailfish arithmetic
Diffstat (limited to '2021/18/example2')
-rw-r--r--2021/18/example210
1 files changed, 10 insertions, 0 deletions
diff --git a/2021/18/example2 b/2021/18/example2
new file mode 100644
index 0000000..70e9071
--- /dev/null
+++ b/2021/18/example2
@@ -0,0 +1,10 @@
+[[[0,[4,5]],[0,0]],[[[4,5],[2,6]],[9,5]]]
+[7,[[[3,7],[4,3]],[[6,3],[8,8]]]]
+[[2,[[0,8],[3,4]]],[[[6,7],1],[7,[1,6]]]]
+[[[[2,4],7],[6,[0,5]]],[[[6,8],[2,8]],[[2,1],[4,5]]]]
+[7,[5,[[3,8],[1,4]]]]
+[[2,[2,2]],[8,[8,1]]]
+[2,9]
+[1,[[[9,3],9],[[9,0],[0,7]]]]
+[[[5,[7,4]],7],1]
+[[[[4,2],2],6],[8,7]]