mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-12-29 16:41:56 +00:00
9 lines
246 B
Python
9 lines
246 B
Python
from __future__ import absolute_import, unicode_literals
|
|
from celery import shared_task
|
|
from judge.dispatcher import JudgeDispatcher
|
|
|
|
|
|
@shared_task
|
|
def judge_task(submission_id, problem_id):
|
|
JudgeDispatcher(submission_id, problem_id).judge()
|