Initial commit
This commit is contained in:
commit
f242d2b0df
420 changed files with 62521 additions and 0 deletions
5
2023/day13/day13.bqn
Normal file
5
2023/day13/day13.bqn
Normal file
|
@ -0,0 +1,5 @@
|
|||
input←>¨(0≠≠)¨⊸/¨(+`(0=≠)¨)⊸⊔'#'=•FLines"input"
|
||||
|
||||
_F←{⊑∾⟜0 1+/𝕩⊸𝔽¨{2×∾⟜(⌽-)(⌊𝕩÷2)↑1+↕𝕩}≠𝕩}
|
||||
•Show +´∾100‿1×{≡⟜⌽𝕩↑𝕨}_F¨¨⋈⟜(⍉¨)input
|
||||
•Show +´∾100‿1×{2=+´⥊|-⟜⌽𝕩↑𝕨}_F¨¨⋈⟜(⍉¨)input
|
Loading…
Add table
Add a link
Reference in a new issue