A key is required for this resource


Get first judging job in queue

GET /queue

Header

Authorization:JUDGER_KEY
JudgerId:JUDGER_ID

Response

HTTP 200//no judge job
{}
{
	"_id":114514,
	"question_id":1001,
	"update":1619022412,
	"code":String,
}

Return judge result

POST /queue

Data

{
	"_id":{"$oid":"114514"},
	"success":false,
	"test_bench":{
		"0":"",//empty represents success
		"1":"",
		"2":Json::WaveDrom,//the first mismatch
		....
	}
}