maybe slightly more elegant solution
This commit is contained in:
parent
71b38be272
commit
05189aa162
@ -4,5 +4,5 @@
|
|||||||
max/ +/ input
|
max/ +/ input
|
||||||
|
|
||||||
# part 2
|
# part 2
|
||||||
sums = +/ input
|
op n top v = v[n take down v]
|
||||||
+/ sums[3 take down sums]
|
+/ 3 top +/input
|
||||||
|
Loading…
x
Reference in New Issue
Block a user