Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rejudge系统 #6

Closed
suica opened this issue Jun 17, 2017 · 3 comments
Closed

rejudge系统 #6

suica opened this issue Jun 17, 2017 · 3 comments
Assignees

Comments

@suica
Copy link
Owner

suica commented Jun 17, 2017

这个oj在公开的题目中,已经提供了rejudge功能。
但是并没有在比赛中的rejudge功能。
需要在理解rejudge接口的基础上加入比赛中的“针对一题的所有提交”和和“针对某一份提交”的rejudge功能。

@suica suica changed the title rejudge rejudge系统 Jun 17, 2017
@suica suica self-assigned this Jun 17, 2017
@suica
Copy link
Owner Author

suica commented Jun 17, 2017

随机id生成法:
OnlineJudge/submission/migrations/0001_initial.py
('id', models.CharField(default=utils.shortcuts.rand_str, max_length=32, serialize=False, primary_key=True, db_index=True)),

@suica
Copy link
Owner Author

suica commented Jun 17, 2017

构想,给submission id
然后扔进判题队列。
最后找个办法更新一下用时。
因为现在的用时都是混在一起的!

@suica
Copy link
Owner Author

suica commented Jun 17, 2017

OnlineJudge/submission/views.py
交题代码。
OnlineJudge/judge_dispatcher/tasks.py下
rank更新方法update_contest_rank

@suica suica closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant