about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--day18.k6
1 files changed, 6 insertions, 0 deletions
diff --git a/day18.k b/day18.k
new file mode 100644
index 0000000..507b93c
--- /dev/null
+++ b/day18.k
@@ -0,0 +1,6 @@
+d:".^"?"^.^^^..^^...^.^..^^^^^.....^...^^^..^^^^.^^.^^^^^^^^.^^.^^^^...^^...^^^^.^.^..^^..^..^.^^.^.^......."
+
++/+/~39{(2/'-3':x) in 1 3 4 6}\d	/ 1913
+
+(+/~d)++/*399999{((*x)+~r; r:(2/'-3':*|x) in 1 3 4 6)}/(0;d)	/ 19993564
+