Skip to content

Commit

Permalink
Day 11 solution.
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfoad committed Dec 11, 2018
1 parent 310e876 commit 674d67f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions p11.dyalog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
⎕IO1
p⊃⊃⎕NGET'p11.txt'1
g{r y10 0+ ¯5+10|100÷r×p+y×r}¨300 300 grid
¯1+{=/,}{+/,}3 3g part 1
1{()}1{0>m/,t{+/,} g: (+1),m,((m=t)-0.5×-1),} part 2
1 change: 1 addition & 0 deletions p11.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5468

0 comments on commit 674d67f

Please sign in to comment.