Skip to content

Commit

Permalink
Day 3 solution.
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfoad committed Dec 3, 2018
1 parent d39038c commit 743e1bd
Show file tree
Hide file tree
Showing 2 changed files with 1,238 additions and 0 deletions.
5 changes: 5 additions & 0 deletions p3.dyalog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
p¨¨'\d+'⎕S'&'¨⎕NGET'p3.txt'1
g1000 10000 grid
{(a b c d e) g[(c b)+e d]+1}¨p
+/,1<g part 1
⊃⊃p/{(a b c d e) /,1=g[(c b)+e d]}¨p part 2
Loading

0 comments on commit 743e1bd

Please sign in to comment.