adventofcode2022/day01/sol.ivy

9 lines
94 B
Plaintext
Raw Normal View History

2022-12-01 06:09:01 +00:00
) get "input.ivy"
# part 1
max/ +/ input
# part 2
sums = +/ input
+/ sums[3 take down sums]