Run Elixir online — Erlang VM, actor concurrency, browser-hosted.
Elixir is a modern functional language on the Erlang VM (BEAM). Small syntax over decades-proven concurrency: lightweight processes, message passing, supervision trees. Powering WhatsApp-scale services in production.
ls-judge runs Elixir with the standard `elixir` CLI inside a Firecracker microVM.
Clicking "Run now" opens the playground with this exact code and a matching test case pre-loaded — passes on first Run.
n = IO.read(:stdio, :line) |> String.trim() |> String.to_integer()
IO.puts(n * 2)
21
42