Files
pplus-library/mojo/probes/godbolt-stdin.mojo
T
2026-10-06 09:57:04 -04:00

9 lines
262 B
Mojo

# probe: does the Compile button's request (compile and run in one) deliver stdin? (run mode did not: input-lines)
# mode: both
# args: -O0 --debug-level=line-tables
# stdin: 41\n
# expect-stdout: 42
def main() raises:
var s = input()
print(atol(s) + 1)