about summary refs log tree commit diff
path: root/day08.k
diff options
context:
space:
mode:
Diffstat (limited to 'day08.k')
-rw-r--r--day08.k5
1 files changed, 5 insertions, 0 deletions
diff --git a/day08.k b/day08.k
new file mode 100644
index 0000000..3498ab8
--- /dev/null
+++ b/day08.k
@@ -0,0 +1,5 @@
+/ mostly by inr, golfed by leah2
+f:("inc";"dec";,">";">=";,"<";"<=";"!=";"==")!(+;-;>;~<;<;~>;~=;=)
+(|/*|s),|/|/s:({0}'=*:'t){@[x;*y;f y 1;f[y 5][x y 4;. y 6]*. y 2]}\t:" "\'0:`day08
+
+\\