about summary refs log tree commit diff
path: root/day01.k
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-12-02 16:34:49 +0100
committerLeah Neukirchen <leah@vuxu.org>2017-12-02 16:34:49 +0100
commitd9fb4b56a9bb651a40918ce000075db8257616ee (patch)
tree5ce5a12d343b9721306dc2e12361e80204fe6692 /day01.k
parentbbce6ed5ff8d6ebc36884b205d0bc18a0d991490 (diff)
downloadadventofcode2017-d9fb4b56a9bb651a40918ce000075db8257616ee.tar.gz
adventofcode2017-d9fb4b56a9bb651a40918ce000075db8257616ee.tar.xz
adventofcode2017-d9fb4b56a9bb651a40918ce000075db8257616ee.zip
day01
Diffstat (limited to 'day01.k')
-rw-r--r--day01.k5
1 files changed, 5 insertions, 0 deletions
diff --git a/day01.k b/day01.k
new file mode 100644
index 0000000..5dcd379
--- /dev/null
+++ b/day01.k
@@ -0,0 +1,5 @@
+d:(*0:`day01)-"0"
++/d@&d=1_d,*d       / 1069
++/d@&d=,/|2 0N#d    / 1268
+2*+/d@&=/2 0N#d     / 1268, thx jakob for idea
+\\