Skip to content

Commit

Permalink
Day 3 faster.
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfoad committed Dec 3, 2018
1 parent 0fc18bb commit ddd494c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions p3fast.dyalog
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
⎕IO0
p¨¨'\d+'⎕S'&'¨⎕NGET'p3.txt'1
q{(a b c d e) ,(b+d).+1000×c+e}¨p
g1E6/0 g[,/q]+1 grid
+/,1<g part 1
⊃⊃p/{/1=g[]}¨q part 2

0 comments on commit ddd494c

Please sign in to comment.