Giter Site home page Giter Site logo

challenge1996 / onlinejudge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from handsomehow/onlinejudge

1.0 1.0 0.0 11.08 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.78%

onlinejudge's Introduction

OnlineJudge 2.0

定制版QDUOJ,添加了若干功能.

需要和 前端, Judger, JudgeServer配合使用,请自行构建镜像,然后将前端编译后的dist文件放到后端/app目录下.

Feature

Contest rejudge功能:

管理员先将需要rejudge的题目隐藏起来,等若干秒使得队列里没有该题目的新提交,然后点击比赛中题目列表的rejudge按钮即可.

rejudge界面

用户名限制:

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

限制描述示例 被限制示例

比赛代码查重

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

相似度示例

格式错误

编辑题目的时候可以选择是否忽略多余的行末空格和多余的换行,若忽略则判题的时候PE会被认为是AC,否则会显示PE.

编辑界面 PE结果

功能列表与进度

  • 完成contest的rejudge功能
  • 添加contest用户名限制功能(正则检查)
  • 将比赛用户名限制作为单独一个字段,并在前端添加对应位置.
  • contest代码相似查重
  • PE(格式错误)

onlinejudge's People

Contributors

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

Stargazers

 avatar

Watchers

 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.