文档
测试

re_judge-重新批改

POST
http://59.110.138.252:5000/judger/re_judge

接口描述

用于教师或助教后台重新批改测试,与normal_judge相似,主要是运行已经有上传代码的程序,所以没有src等参数

请求参数

参数名
类型
描述
必填
user_id
int
示例:10112510101
必填
assignment_id
int
示例:300
必填
question_id
int
示例:683
必填
output
boolean
示例:true
必填
test_cases_folder
int
示例:29
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
run_result
object
数据字典
必填
pass_num
int
示例:1
必填
total_num
int
示例:1
必填
detail_info
array
数据列表
必填
cpu_time
int
示例:0
必填
real_time
int
示例:1
必填
memory
int
示例:573440
必填
signal
int
示例:0
必填
exit_code
int
示例:0
必填
error
int
示例:0
必填
result
int
示例:0
必填
test_case
string
示例:22
必填
output
string
示例:Hello ECNU
必填
answer
string
示例:Hello ECNU
必填
input
string
示例:
必填
is_compile_pass
boolean
示例:true
必填
compile_error_info
string
示例:
必填
evaluation_score
int
示例:100
必填
violations
array
数据列表
必填