Run Erlang OTP 26 online — the fault-tolerant BEAM VM, browser-hosted.
Erlang was built for telecom: nine-nines uptime, hot code reload, lightweight processes with per-process GC. Every property that makes it good at phone switches also makes it good at chat servers and payment systems.
ls-judge runs Erlang/OTP 26 through escript 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.
-module(solution).
-export([main/0]).
main() ->
{ok, [N]} = io:fread("", "~d"),
io:format("~b~n", [N * 2]).
21
42