# 后端传递的数据包括: 判题id, 题目id, 用户代码及所用语言, 判题机的时空限制, 是否为特判
judge_json = {
'judge_id': (int),
'problem_id': (int),
'problem_code': (string),
'language': (string),
'code': (string),
'time_limit': (int),
'memory_limit': (int)
}
# 判题结果json数据, 传回给后端
result_json = {
'judge_id': self.judge_id,
'case_id': 0,
'time_cost': 0,
'memory_cost': 0,
'result': '',
'message': '',
'input_data': '',
'sample_output': '',
'user_output': ''
}
-
Notifications
You must be signed in to change notification settings - Fork 0
Xayanium/JudgeBox
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
使用c语言作为判题核心,python语言编写判题机,支持docker一键部署
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published