about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-12-08 15:53:41 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-12-08 15:53:41 +0100
commitc1044f86c3c799c71b5a44f297c7a619e7fcb716 (patch)
treee6709bf42eb6ce2c713cc352e2e857fa44507d90
parentccc9026650420fe321842db35031044150a27269 (diff)
downloadadventofcode2016-c1044f86c3c799c71b5a44f297c7a619e7fcb716.tar.gz
adventofcode2016-c1044f86c3c799c71b5a44f297c7a619e7fcb716.tar.xz
adventofcode2016-c1044f86c3c799c71b5a44f297c7a619e7fcb716.zip
day07: tweaks
-rw-r--r--day07.k4
1 files changed, 4 insertions, 0 deletions
diff --git a/day07.k b/day07.k
index 38134e6..f28b84f 100644
--- a/day07.k
+++ b/day07.k
@@ -7,12 +7,16 @@ a:|/{(~*x=x[1])&x~|x}'4#'-4_(1_)\
 / thx zgrep
 +/(0 1~|/0N 2#0,(|/{(~=/2_x)&x~|x}'4#'-4_(1_)\)',/"]"\'"["\)'0:"day07"
 #(0 1~|/0N 2#0,(|/{(~=/2_x)&x~|x}'4#'-4_(1_)\)',/"]"\'"["\)#0:"day07"
+#(1 0~|/0N 2#(|/{(~=/2_x)&x~|x}'4#'-4_(1_)\)',/"]"\'"["\)#0:"day07"
+/ thx John Earnest
+#(1 0~|/0N 2#(|/{(~=/2_x)&x~|x}'4':)',/"]"\'"["\)#0:"day07"
 
 / 115
 
 +/{{|/x in\:(3#1_)'y}.,/'({x~|x}#3#'-3_(1_)\)''+0N 2#x}'(,/"]"\'"["\)'0:"day07"
 +/({|/x in\:(3#1_)'y}.,/'+0N 2#({x~|x}#3#'-3_(1_)\)',/"]"\'"["\)'0:"day07"
 #({|/x in\:(3#1_)'y}.,/'+0N 2#({x~|x}#3#'-3_(1_)\)',/"]"\'"["\)#0:"day07"
+#({|/x in\:(3#1_)'y}.,/'+0N 2#({x~|x}#3':)',/"]"\'"["\)#0:"day07"
 / 231
 
 \\