about summary refs log tree commit diff
path: root/users/sterni/exercises/aoc/2022/25/25.bqn
blob: 921099141f099db92bfeb9c883df863616fd9989 (plain) (blame)
1
2
3
4
c ← "=-012"
F ← +´∘(⊢×(5⊸⋆)∘⌽∘↕∘≠)∘(-⟜2)∘(c⊸⊐)
T ← {c⊏˜5|2+𝕩 {(⌊5÷˜𝕨+2) (𝕊⟜(𝕨⊸∾))⍟(0<𝕨) 𝕩} ⟨⟩}
•Out "day25.1: "∾T +´F¨ •FLines "input"