mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
8 lines
191 B
Python
8 lines
191 B
Python
from celery import shared_task
|
|
from judge.tasks import JudgeDispatcher
|
|
|
|
|
|
@shared_task
|
|
def _judge(submission_obj, problem_obj):
|
|
return JudgeDispatcher(submission_obj, problem_obj).judge()
|