Something went wrong. Try again.
Something went wrong. Try again.
254 B · 12 lines
at runtime
12345678910111213import std::ioimport self::math_opsimport self::helpers
fn main(): int { let x: int = 4; let sq: int = math_ops::square(x); let dbl: int = helpers::double(x); let result: int = sq + dbl; io::printf("%d\n", result); return 0;}