diff options
-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 |