about summary refs log tree commit diff
path: root/users/sterni/exercises/aoc/2022/01/1.bqn
blob: f95851e0d93e171a8c18165173e33dd5727539bd (plain) (blame)
1
2
3
4
5
6
7
lib ← •Import •path∾"/../../lib.bqn"
input ← lib.ReadDec¨¨ (<"") lib.SplitOn •FLines •path∾"/input"

cpe ← +´¨ input

•Out "day 01.1: "∾•Fmt ⌈´cpe
•Out "day 01.2: "∾•Fmt +´3↑∨cpe