aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-12-18 16:08:12 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-12-18 16:08:12 +0100
commitd210bdbfb40808f3dc458ec3bbb250f30eb6ac47 (patch)
treeafda1270ccc5d44abd22acb390d635f20c2ee956
parent89dc00913c770e76af9eee5b68242414dbf0feac (diff)
downloadadventofcode2016-d210bdbfb40808f3dc458ec3bbb250f30eb6ac47.tar.gz
adventofcode2016-d210bdbfb40808f3dc458ec3bbb250f30eb6ac47.tar.xz
adventofcode2016-d210bdbfb40808f3dc458ec3bbb250f30eb6ac47.zip
day18
-rw-r--r--day18.k6
1 files changed, 6 insertions, 0 deletions
diff --git a/day18.k b/day18.k
new file mode 100644
index 0000000..507b93c
--- /dev/null
+++ b/day18.k
@@ -0,0 +1,6 @@
+d:".^"?"^.^^^..^^...^.^..^^^^^.....^...^^^..^^^^.^^.^^^^^^^^.^^.^^^^...^^...^^^^.^.^..^^..^..^.^^.^.^......."
+
++/+/~39{(2/'-3':x) in 1 3 4 6}\d / 1913
+
+(+/~d)++/*399999{((*x)+~r; r:(2/'-3':*|x) in 1 3 4 6)}/(0;d) / 19993564
+