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
192 B

Input ← &fras "../day_01.txt"
Lines ← ⊜□≠, @\n Input
Digits ← +@1⇡9
CalibrationValue ← /+ ×[10 1] -@0 ⊏0_¯1 ▽ ≡/+ ∵(⌕:Digits).
/+ ∵(CalibrationValue ⊔) Lines