about summary refs log tree commit diff
path: root/day01.ok
diff options
context:
space:
mode:
Diffstat (limited to 'day01.ok')
-rw-r--r--day01.ok8
1 files changed, 8 insertions, 0 deletions
diff --git a/day01.ok b/day01.ok
new file mode 100644
index 0000000..d544b61
--- /dev/null
+++ b/day01.ok
@@ -0,0 +1,8 @@
+d:" "\(*0:"day01")^","
+
+t: (1 0;0 1;-1 0;0 -1)@4!+\-1+2*"R"=d[;0]
+l: .:'1_'d
++/{%x*x}@+/t*l			/ 146
+
+fd:{x@*&{1<#x}'.=x}
++/{%x*x}@fd@+\t@&l		/ 131