mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-01-16 17:26:38 +00:00
16 lines
362 B
Python
16 lines
362 B
Python
# coding=utf-8
|
|
|
|
|
|
# 这个映射关系是前后端通用的,判题服务器提供接口,也应该遵守这个,可能需要一些转换
|
|
result = {
|
|
"accepted": 0,
|
|
"runtime_error": 1,
|
|
"time_limit_exceeded": 2,
|
|
"memory_limit_exceeded": 3,
|
|
"compile_error": 4,
|
|
"format_error": 5,
|
|
"wrong_answer": 6,
|
|
"system_error": 7,
|
|
"waiting": 8
|
|
}
|