tvl-depot/users/sterni/exercises/aoc/lib.bqn

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
248 B
BQN
Raw Normal View History

IsAsciiNum ('0''9')
ReadInt {(𝕨×+)´-'0'𝕩} # stolen from leah2
ReadDec 10ReadInt
SplitOn (( (-1˙)¨ +`(1»<))(¨))
_fix {𝕩 𝕊 𝔽 𝕩}