diff options
Diffstat (limited to 'users/sterni/exercises')
-rw-r--r-- | users/sterni/exercises/aoc/2022/05/5.bqn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/sterni/exercises/aoc/2022/05/5.bqn b/users/sterni/exercises/aoc/2022/05/5.bqn index b3d190b9fc77..15b0dfc805b5 100644 --- a/users/sterni/exercises/aoc/2022/05/5.bqn +++ b/users/sterni/exercises/aoc/2022/05/5.bqn @@ -3,7 +3,7 @@ rs‿rc ← (<"") SplitOn •FLines "../05/input" stacks ← { count ← '0'-˜⊑⌽' ' (≠/⊢) ⊑⌽rs - ' ' (≠/⊢)¨⥊⋈˘ (count×4) ((»∘(0⊸=)∘(4⊸|)∘↕⊣)/↑) ⍉> (-1)↓rs + ' ' (≠/⊢)¨<˘ (count×4) ((»∘(0⊸=)∘(4⊸|)∘↕⊣)/↑) ⍉> (-1)↓rs } cmds ← {0‿1‿1-˜ ReadDec¨ ((∧´IsAsciiNum)¨/⊢) (<' ') SplitOn 𝕩}¨ rc |