diff --git a/src/aoc24.org b/src/aoc24.org index 2bb747f..07da698 100644 --- a/src/aoc24.org +++ b/src/aoc24.org @@ -241,26 +241,42 @@ powers of the adjacency matrix. This is method is unfortunately slower than simp ** XII -#+begin_src bqn :tangle ./bqn/aoc24.bqn :exports both +#+begin_src bqn :tangle ./bqn/aoc24.bqn :exports both XII ← { n‿inp ← ≠⊸⋈>•FLines Input𝕩 - cf‿cn ← ⟨»˘, », «˘, «⟩‿⟨0‿¯1, ¯1‿0, 0‿1, 1‿0⟩ - nb‿pr ← (∾¨´⋈·+´¬) inp<⊸=nud ← cf{𝕎𝕩}¨ diff --git a/src/bqn/aoc24.bqn b/src/bqn/aoc24.bqn index d4409fa..6c32e8f 100644 --- a/src/bqn/aoc24.bqn +++ b/src/bqn/aoc24.bqn @@ -127,16 +127,25 @@ XI _is 11 XII ← { n‿inp ← ≠⊸⋈>•FLines Input𝕩 - cf‿cn ← ⟨»˘, », «˘, «⟩‿⟨0‿¯1, ¯1‿0, 0‿1, 1‿0⟩ - nb‿pr ← (∾¨´⋈·+´¬) inp<⊸=nud ← cf{𝕎𝕩}¨