diff --git a/day9.bqn b/day9.bqn new file mode 100644 index 0000000..3adb1d4 --- /dev/null +++ b/day9.bqn @@ -0,0 +1,5 @@ +Next ← {∧´𝕩=0 ? 0 ; (¯1⊸⊑ + 𝕊∘(¯1⊸↓)∘(«-⊢)) 𝕩} +Read ← •BQN {' ':'‿';'-':'¯';𝕩}¨ + +Part1 ⇐ +´ Next∘Read¨∘•FLines +Part2 ⇐ +´ Next∘⌽∘Read¨∘•FLines