aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2019-12-06 16:28:42 +0100
committerLeah Neukirchen <leah@vuxu.org>2019-12-06 16:28:42 +0100
commit2e82083ae7166a0ababfd9b34341fb4fd3dfc0d9 (patch)
tree274cc1523fb2a30358b421365c0383dea0159188
parentd8ec84595c1a908cd83672d765c57a64dd06b31f (diff)
downloadadventofcode2019-2e82083ae7166a0ababfd9b34341fb4fd3dfc0d9.tar.gz
adventofcode2019-2e82083ae7166a0ababfd9b34341fb4fd3dfc0d9.tar.xz
adventofcode2019-2e82083ae7166a0ababfd9b34341fb4fd3dfc0d9.zip
day03: nicer set diff
-rw-r--r--day03.k2
1 files changed, 1 insertions, 1 deletions
diff --git a/day03.k b/day03.k
index 6474361..df223ab 100644
--- a/day03.k
+++ b/day03.k
@@ -1,5 +1,5 @@
d:(+\("LRUD"!(0 -1;0 1;1 0;-1 0))@,/{(`i$1_x)#*x}'","\:)'0:"day03"
-&/+/'z:d[1]@&~(#*d)=?/d
+&/+/'z:(*d)^^/d
&/+/'1+d?\:/:z
\\
258