The playground is being prepared: nothing can be run yet, but you can read the examples and their expected output.
This code came from a link. Read it before you press «Run».
The expected output of this example (from the reference handbook)
Recorded in the compiler's tests without the playground's options; with --debug-mem a memory report may be added to the errors.
Output
Errors
Exit code:
Playground limits
- Run time: 8 seconds.
- Code size: 64 kB.
- Output: 64 kB, and anything beyond that is cut.
- No files, no network, no command-line arguments, no environment variables, and no input. The available modules:
رياضيات and عشوائي. - Compiler options:
--no-unsafe --no-ffi --no-system --debug-mem. - The code is sent to the run server only, and is not stored in any other service. There are no analytics or tracking tools on this page.