10 lines
178 B
Text
10 lines
178 B
Text
~ "aoc.ua" ~ Lines
|
||
|
||
Input ← Lines &fras "input/day01.txt"
|
||
|
||
Dirs ← ≡°□ +⊃(¯=@L) (=@R) ⍚⊢ Input
|
||
Amts ← ⋕⍚(↘ 1) Input
|
||
|
||
× Dirs Amts
|
||
⬚50\(◿ 100 +)
|
||
/+ = 0
|