You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
advent-of-code/2023/uiua/day_01.ua

8 lines
181 B

11 months ago
Input ← &fras "../day_01.txt"
Lines ← ⊜□≠, @\n Input
Digits ← +@1⇡9
11 months ago
CalibrationValue ← /+ parse ⊏0_¯1 ▽≡/+ ∵(⌕:Digits).
11 months ago
11 months ago
/+ ⊐∵CalibrationValue Lines