maybe slightly more elegant solution

main
magical 2022-11-30 22:10:06 -08:00
parent 71b38be272
commit 05189aa162
1 changed files with 2 additions and 2 deletions

View File

@ -4,5 +4,5 @@
max/ +/ input
# part 2
sums = +/ input
+/ sums[3 take down sums]
op n top v = v[n take down v]
+/ 3 top +/input