Coder Social home page Coder Social logo

xyfc / onlinejudge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from handsomehow/onlinejudge

0.0 2.0 0.0 11.05 MB

open source online judge based on Vue, Django and Docker.

License: MIT License

Dockerfile 0.20% Python 98.60% HTML 0.42% Shell 0.79%

onlinejudge's Introduction

OnlineJudge 2.0

定制版QDUOJ,添加了比赛rejudge,代码查重,用户名限制等功能,需要与前端配合使用.

Feature

Contest rejudge功能:

管理员先将需要rejudge的题目隐藏起来,等若干秒使得队列里没有该题目的新提交,然后点击比赛中题目列表的rejudge按钮即可.(由于判提题度的问题偶尔会出现一血错误的情况,重新rejudge即可,之后有空会重写ranklist构成方式可以解决该问题.)

rejudge界面

用户名限制:

在contest描述中 最后的地方添加 “limit:#xxxx#“(不包含引号)即可,其中xxxx为用户名需要满足的正则表达式,如 limit:#201[5-8]11[0-9]{4}# 将使得用户名为"2015111234"的用户能够进入比赛,而"acm201111"的用户不能进入比赛.

限制描述示例 被限制示例

比赛代码查重

比赛结束后在前台点击一键查重,然后进入查重页面即可看到结果(相似度40%以上).该功能需要在比赛结束后点,同时被查到的代码会被公开(share).

相似度示例

功能列表与进度

  • 完成contest的rejudge功能
  • 添加contest用户名限制功能(正则检查)
  • 重写contest rank字段逻辑,更好的支持rejudge功能
  • 将比赛用户名限制作为单独一个字段,并在前端添加对应位置.
  • contest代码相似查重

onlinejudge's People

Contributors

virusdefender avatar sxwxs avatar zema1 avatar hohott avatar handsomehow avatar chiaki64 avatar spxcds avatar zhanghedr avatar yuxsccc avatar xiuluo avatar xeonacid avatar creedowl avatar sylxjtu avatar dianhsu avatar yihozhang avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.