about summary refs log tree commit diff
path: root/day03.k
diff options
context:
space:
mode:
Diffstat (limited to 'day03.k')
-rw-r--r--day03.k6
1 files changed, 6 insertions, 0 deletions
diff --git a/day03.k b/day03.k
new file mode 100644
index 0000000..58d42c0
--- /dev/null
+++ b/day03.k
@@ -0,0 +1,6 @@
++/{h<(+/x)-h:|/x}'"i"$'(" "\'0:"day03")^\:,""
++/{h<(+/x)-h:|/x}',/+:'0N 3 #"i"$'(" "\'0:"day03")^\:,""
+
+/ thanks to John Earnest
++/{h<(+/x)-h:|/x}'.:'0:"day03"
++/{h<(+/x)-h:|/x}',/+:'0N 3 #.:'0:"day03"