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.

LanguageMemoryCPU TimeTotal TimeMax Processes
Python256 MB4s7s10
C256 MB8s10s8
C++256 MB8s10s8
Java512 MB8s10s1024
JavaScript512 MB8s12s16
TypeScript512 MB8s12s16
Go256 MB8s10s1024
Rust256 MB8s15s64

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#

CodeIn plain wordsWhat happened
ACRan fineExited cleanly with code 0 (on /api/judge: the output matched)
WAWrong answerRan cleanly but printed the wrong output (/api/judge only)
RECrashedExited with a non-zero code, or crashed
TLEToo slowRan past the time limit
MLEToo much memoryStopped by the kernel for using more memory than allowed
PLEToo many processesStarted more processes or threads than allowed
FSEFile too bigWrote a file bigger than allowed (SIGXFSZ)
OLEToo much outputPrinted more than 1 MB to stdout or stderr
SIGKilledStopped by a signal
IEFailed on our sideSomething 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.