Skip to content

Commit

Permalink
Day 8 solution.
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfoad committed Dec 10, 2018
1 parent 4a4bb29 commit 2a14813
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions p8.dyalog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
p⊃⊃⎕NGET'p8.txt' 1
e{: ⍺⍺¨}
n0 {a bp[(n+2)n+2] +/p[(n+b)n+b], ea}0 part 1
n0 {a bp[(n+2)n+2] c ea mp[(n+b)n+b] a=0:+/m +/c[ma]}0 part 2
Loading

0 comments on commit 2a14813

Please sign in to comment.