You are viewing a single comment's thread. Return to all comments →
hi, here is my elixir solution
defmodule M do def main() do IO.read(:stdio, :all) |> String.split |> Enum.map(&String.to_integer(&1)) |> Enum.map(fn el -> if el < 0, do: IO.puts(el * -1), else: IO.puts el end) end end M.main
Seems like cookies are disabled on this browser, please enable them to open this website
Update List
You are viewing a single comment's thread. Return to all comments →
hi, here is my elixir solution