mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-22 00:43:20 +00:00
10 lines
198 B
Python
10 lines
198 B
Python
|
import django
|
||
|
from contest.models import Contest
|
||
|
django.setup()
|
||
|
|
||
|
def add_exist_problem_to_contest(problems, contest_id):
|
||
|
for problem in problems:
|
||
|
print problem.title
|
||
|
|
||
|
return
|