0251f56575
Change-Id: I0f23d4d6405779fe7e804eb8b9f407dc4de88760 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7502 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
8 lines
245 B
BQN
8 lines
245 B
BQN
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
|