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