about summary refs log tree commit diff
path: root/day08.k4
diff options
context:
space:
mode:
Diffstat (limited to 'day08.k4')
-rw-r--r--day08.k411
1 files changed, 11 insertions, 0 deletions
diff --git a/day08.k4 b/day08.k4
new file mode 100644
index 0000000..ba3f823
--- /dev/null
+++ b/day08.k4
@@ -0,0 +1,11 @@
+/ use KDB+ 3.3 2016.03.14
+
+f: 6 50#0
+r:.q.rotate
+
+{$["rect"~*w:" "\:x;.[`f;(!.:)'|"x"\:*|w;:;1]; "row"~w[1];f[n]::r[-.*|w;f[n:.*|"="\:w 2]]; "column"~w[1]:f[;n]::r[-.*|w;f[;n:.*|"="\:w 2]];]}'0:`day08;
+
++//f		/ 106
+-1'" #"f;	/ CFLELOYFCS
+
+\\