9 lines
94 B
Plaintext
9 lines
94 B
Plaintext
|
) get "input.ivy"
|
||
|
|
||
|
# part 1
|
||
|
max/ +/ input
|
||
|
|
||
|
# part 2
|
||
|
sums = +/ input
|
||
|
+/ sums[3 take down sums]
|