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
|
1325
2023/day13/input
Normal file
1325
2023/day13/input
Normal file
File diff suppressed because it is too large
Load diff
15
2023/day13/test
Normal file
15
2023/day13/test
Normal file
|
@ -0,0 +1,15 @@
|
|||
#.##..##.
|
||||
..#.##.#.
|
||||
##......#
|
||||
##......#
|
||||
..#.##.#.
|
||||
..##..##.
|
||||
#.#.##.#.
|
||||
|
||||
#...##..#
|
||||
#....#..#
|
||||
..##..###
|
||||
#####.##.
|
||||
#####.##.
|
||||
..##..###
|
||||
#....#..#
|
Loading…
Add table
Add a link
Reference in a new issue