about summary refs log tree commit diff
path: root/day16.k
diff options
context:
space:
mode:
Diffstat (limited to 'day16.k')
-rw-r--r--day16.k6
1 files changed, 6 insertions, 0 deletions
diff --git a/day16.k b/day16.k
new file mode 100644
index 0000000..10cf924
--- /dev/null
+++ b/day16.k
@@ -0,0 +1,6 @@
+d: ","\*0:`day16
+s: `c$"a"+!16
+b:{x$["s"~*y;l!(!l:#x)-. 1_y;"x"~*y;@[!#x;v;|v:.:'"/"\1_y];@[!#x;v;|v:x?y 1 3]]}
+
+s b/d				/ fnloekigdmpajchb
+c(#c:b/[;d]\s)!1000000000	/ amkjepdhifolgncb