grabbed data for q3
This commit is contained in:
parent
36d89965b5
commit
aebb2e9ef4
10
2.exs
10
2.exs
|
@ -33,13 +33,3 @@ sum2 = sum2
|
||||||
|
|
||||||
sum1 = sum3 * sum2
|
sum1 = sum3 * sum2
|
||||||
IO.puts(sum1)
|
IO.puts(sum1)
|
||||||
#IO.puts(count2)
|
|
||||||
#IO.puts(count3)
|
|
||||||
|
|
||||||
# File.stream!("input-2")
|
|
||||||
# |> Stream.map(&String.trim/1)
|
|
||||||
# |> Stream.map(fn n -> String.graphemes(n) end)
|
|
||||||
# |> Enum.reduce(%{}, fn char, acc ->
|
|
||||||
# Map.update(acc, char, 1, &(&1 + 1))
|
|
||||||
# end)
|
|
||||||
# |> IO.puts
|
|
||||||
|
|
Loading…
Reference in a new issue