37 lines
No EOL
584 B
Elixir
37 lines
No EOL
584 B
Elixir
defmodule AdventOfCode.Day01 do
|
|
@moduledoc """
|
|
Day 1
|
|
"""
|
|
end
|
|
|
|
defmodule AdventOfCode.Day01.Part1 do
|
|
@moduledoc """
|
|
Day 1, Part 1
|
|
"""
|
|
|
|
alias AdventOfCode.PuzzleSolver
|
|
use PuzzleSolver
|
|
|
|
import AdventOfCode.Day01, warn: false
|
|
|
|
@impl PuzzleSolver
|
|
def solve(_input_stream) do
|
|
:ok |> to_string()
|
|
end
|
|
end
|
|
|
|
defmodule AdventOfCode.Day01.Part2 do
|
|
@moduledoc """
|
|
Day 1, Part 2
|
|
"""
|
|
|
|
alias AdventOfCode.PuzzleSolver
|
|
use PuzzleSolver
|
|
|
|
import AdventOfCode.Day01, warn: false
|
|
|
|
@impl PuzzleSolver
|
|
def solve(_input_stream) do
|
|
:ok |> to_string()
|
|
end
|
|
end |