diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-12-17 15:16:39 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-12-17 15:16:39 +0100 |
commit | 7d84c1af0ce5c4412cd2af0b50a3fe93b8cf627c (patch) | |
tree | b7ddd4a0e62a75d4cd2e2c59fefe6de906e0e797 | |
parent | 2c1f146376d708959defa553cb8e3b9a0a6ae60e (diff) | |
download | adventofcode2015-7d84c1af0ce5c4412cd2af0b50a3fe93b8cf627c.tar.gz adventofcode2015-7d84c1af0ce5c4412cd2af0b50a3fe93b8cf627c.tar.xz adventofcode2015-7d84c1af0ce5c4412cd2af0b50a3fe93b8cf627c.zip |
day17.k5
-rw-r--r-- | day17.k5 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/day17.k5 b/day17.k5 new file mode 100644 index 0000000..cbb6603 --- /dev/null +++ b/day17.k5 @@ -0,0 +1,7 @@ +/ works in oK +d:{x@<x}@.:'-1_0:"day17" +g:150 +r:{$[g=t:+/x; ,x; (t<g)&(0<#y); ,/{[v]r[x,*v;1_v]}'(!#y)_\:y; ()]} +s:r[(); d] +#s +#&{x=&/x}@#:'s |