tvl-depot/users/sterni/exercises/aoc/2022/03/3.bqn

9 lines
245 B
BQN
Raw Normal View History

i •FLines •path"/input"
c (26)+¨"aA"
P {1+c𝕩}
S (/)
G ((/(÷˜)))
•Out "day03.1: "•Fmt +´(P S˝)¨2¨i
•Out "day03.2: "•Fmt +´3(P S´)¨G i