Run Julia 1 online — scientific computing, browser-hosted.
Julia was built for scientific computing without the "two-language" problem: as fast as C, as expressive as Python, native multi-dispatch, and first-class arrays.
ls-judge runs Julia 1.x inside a Firecracker microVM. Cold-lane compilation costs a few seconds on the first run — that is the JIT warming up.
Clicking "Run now" opens the playground with this exact code and a matching test case pre-loaded — passes on first Run.
n = parse(Int, readline())
println(n * 2)
21
42