9 lines
225 B
Elixir
9 lines
225 B
Elixir
filepath = Path.join([File.cwd!, "lib", "year_2025", "day1_input.txt"])
|
|
ops = File.stream!(filepath)
|
|
|>Stream.map(&String.trim_trailing/1)
|
|
|>Enum.to_list
|
|
|
|
{_, zeroes} = AdventOfCode.Year2025.Dial.rotate(ops)
|
|
IO.puts(zeroes)
|
|
|