maybe slightly more elegant solution
Этот коммит содержится в:
родитель
71b38be272
Коммит
05189aa162
@ -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
|
||||
|
||||
Загрузка…
x
Ссылка в новой задаче
Block a user