about summary refs log blame commit diff
path: root/users/sterni/exercises/aoc/2022/01/1.bqn
blob: 440efff41c6592e2fb71ebd6c6b4634775116b9d (plain) (tree)
1
2
3
4
5
6
7


                                                                        
                                   
 

                              
lib ← •Import •path∾"/../../lib.bqn"
input ← lib.ReadDec¨¨ (<"") lib.SplitOn •FLines •path∾"/input"

a‿·‿b ← +`3↑∨+´¨ input

•Out "day 01.1: "∾•Fmt a
•Out "day 01.2: "∾•Fmt b