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

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