Skip to content

Commit

Permalink
Day 20
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfoad committed Dec 20, 2022
1 parent 10af39a commit a1ffe67
Show file tree
Hide file tree
Showing 2 changed files with 5,006 additions and 0 deletions.
6 changes: 6 additions & 0 deletions p20.dyalog
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
⎕IO0 ⎕PP17
q811589153×p¨⎕NGET'p20.txt'1
f{n1+(¯1+)|⍺⍺ (n|¯1+)@(n>)()|-}
g{+//()|1E3 2E3 3E3+(0)}
p gp f/(,)p part 1
q gq f/{,10/}q part 2
Loading

0 comments on commit a1ffe67

Please sign in to comment.