10 lines
237 B
Elixir
10 lines
237 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)
|