day9
This commit is contained in:
parent
507cdc8891
commit
2bb7e9d5cd
1 changed files with 5 additions and 0 deletions
5
day9.bqn
Normal file
5
day9.bqn
Normal file
|
@ -0,0 +1,5 @@
|
|||
Next ← {∧´𝕩=0 ? 0 ; (¯1⊸⊑ + 𝕊∘(¯1⊸↓)∘(«-⊢)) 𝕩}
|
||||
Read ← •BQN {' ':'‿';'-':'¯';𝕩}¨
|
||||
|
||||
Part1 ⇐ +´ Next∘Read¨∘•FLines
|
||||
Part2 ⇐ +´ Next∘⌽∘Read¨∘•FLines
|
Loading…
Reference in a new issue