refactor(sterni/aoc/2022/05): rank 2 array into list of lists w/ <˘

Change-Id: Ic536908bad5bb4af860ec53bd585ed74af3117af
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7557
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
sterni 2022-12-10 21:35:26 +01:00 committed by clbot
parent c381fa64cf
commit b8afed6dd4

View file

@ -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 {011-˜ ReadDec¨ ((´IsAsciiNum)¨/) (<' ') SplitOn 𝕩}¨ rc