Limits#
Every run gets a bare box with only the language installed: no internet, tight memory limits and short time limits, built for checking short programs against known test cases.
| Language | Memory | CPU Time | Total Time | Max Processes |
|---|---|---|---|---|
| Python | 256 MB | 4s | 7s | 10 |
| C | 256 MB | 8s | 10s | 8 |
| C++ | 256 MB | 8s | 10s | 8 |
| Java | 512 MB | 8s | 10s | 1024 |
| JavaScript | 512 MB | 8s | 12s | 16 |
| TypeScript | 512 MB | 8s | 12s | 16 |
| Go | 256 MB | 8s | 10s | 1024 |
| Rust | 256 MB | 8s | 15s | 64 |
All languages: no internet, code up to 64 KB, input (stdin) up to 256 KB.
Typical use: send a solution with its test cases to POST /api/judge and get a result for each case.
Security#
Every run gets the same 8 layers of protection: its own processes and files, no internet, memory and CPU limits, 51 risky actions blocked, and no admin powers.
Result codes#
| Code | In plain words | What happened |
|---|---|---|
AC | Ran fine | Exited cleanly with code 0 (on /api/judge: the output matched) |
WA | Wrong answer | Ran cleanly but printed the wrong output (/api/judge only) |
RE | Crashed | Exited with a non-zero code, or crashed |
TLE | Too slow | Ran past the time limit |
MLE | Too much memory | Stopped by the kernel for using more memory than allowed |
PLE | Too many processes | Started more processes or threads than allowed |
FSE | File too big | Wrote a file bigger than allowed (SIGXFSZ) |
OLE | Too much output | Printed more than 1 MB to stdout or stderr |
SIG | Killed | Stopped by a signal |
IE | Failed on our side | Something broke in rustbox, not in your code |
Every result comes from what the kernel recorded (out-of-memory events, signals, CPU use). Rustbox never guesses a result from the exit code.