A modern open-source online judge and contest platform system.
Go to file
2022-12-28 18:08:46 -05:00
.github/workflows ci: update to peter-evans/create-pull-request@v4 2022-10-30 18:21:41 -04:00
django_ace cmd+enter to submit 2022-02-26 02:29:46 -05:00
dmoj Explicitly set DEFAULT_AUTO_FIELD 2022-12-27 00:40:55 -05:00
judge Dark mode images 2022-12-28 17:55:39 -05:00
locale Remove useless locale files 2022-10-30 20:11:55 -04:00
resources Fix CSS for rating circles 2022-12-28 18:08:46 -05:00
templates Fix CSS for rating circles 2022-12-28 18:08:46 -05:00
websocket Address sources of update leaks in websocket event daemon 2018-12-12 23:17:57 -05:00
.browserslistrc Use Autoprefixer for CSS postprocessing 2019-09-24 14:59:41 -04:00
.ci.settings.py Switch CI test database to MySQL (#1417) 2020-06-01 23:13:41 -04:00
.flake8 Fix flake8 configuration 2022-12-26 13:10:31 -05:00
.gitignore Add querystring option to enable dark mode (attempt 2) 2022-12-16 20:42:14 +02:00
.gitmodules
502.html
codecov.yml Disable codecov status (#1562) 2020-10-03 15:22:50 -04:00
django_2_2_pymysql_patch.py Replace force_text with force_str 2021-10-02 13:01:22 -04:00
dmoj_bridge_async.py Make code lint correctly with new flake8 (#1388) 2020-05-11 23:12:06 -04:00
dmoj_celery.py Make code lint correctly with new flake8 (#1388) 2020-05-11 23:12:06 -04:00
dmoj_install_pymysql.py Fix basic Django 3.2 incompatibilities 2022-10-30 16:56:30 -04:00
LICENSE
logo.png Make DMOJ logo symmetrical 2022-07-17 23:47:09 -04:00
make_style.sh Add querystring option to enable dark mode (attempt 2) 2022-12-16 20:42:14 +02:00
manage.py Add flake8-quotes to the linter 2021-09-07 23:25:28 -04:00
README.md Fix code comments 2022-08-20 11:22:53 -04:00
requirements.txt Use DMOJ's own django-fernet-fields 2022-12-27 00:29:16 -05:00
robots.txt Add view for problem point voting 2022-12-20 18:42:33 -05:00

DMOJ: Modern Online Judge Build Status Slack

A modern open-source online judge and contest platform system. It has been used to host hundreds of competitions, including several national olympiads.

See it live at dmoj.ca!

Features

  • Support for over 60 language runtimes
  • Highly robust judging system:
    • Supports interactive and signature-graded tasks
    • Supports runtime data generators and custom output validators
    • Specifying per-language resource limits
    • Capable of scaling to hundreds of judging servers
  • Extremely configurable contest system:
    • Supports ICPC/IOI/AtCoder/ECOO formats out-of-the-box
    • System testing supported
    • Hidden scoreboards and virtual participation
    • Elo-MMR-style rating
    • Plagiarism detection via Stanford MOSS
    • Restricting contest access to particular organizations or users
  • Rich problem statements, with support for LaTeX math and diagrams
    • Automatic PDF generation for easy distribution
    • Built-in support for editorials
  • Live updates for submissions
  • Internationalized site interface
  • Home page blog and activity stream
  • Fine-grained permission control for staff
  • OAuth login with Google, Facebook, and Github
  • Two-factor authentication support

Installation

Check out the install documentation at docs.dmoj.ca. Feel free to reach out to us on Slack if you have any questions.

Screenshots

Sleek problem statements

Problems are written in Markdown, with LaTeX-enabled math and figures, as well as syntax highlighting. Problem statements can be saved to PDF for ease of distribution to contestants.

Submit in over 60 languages

Contestants may submit in over 60 programming languages with syntax highlighting. Problem authors can restrict problems to specific languages, and set language-specific resource limits.

Live submission status

Submission pages feature live updates, and submissions may be aborted by both submission authors and administrators. Compilation errors and warnings for a number of languages feature color highlighting.

Global, per-problem, and per-contest submission lists are live-updating, and can be filtered by status and language.

Extensible contest system

Contests feature an optional rating system, and can be configured to run in any timeframe. Users are also able to participate virtually after the contest ends. ICPC, IOI, AtCoder, and ECOO contest formats are supported out-of-the-box, and new formats can be added with custom code.

Contests may be limited to particular organizations, or require access codes to join. Hidden scoreboards are supported. The contest system integrates with Stanford MOSS to provide plagiarism checking. Editorial support is built-in, and editorials are automatically published once a contest ends.

Home page blog and activity stream

Announcements from administrators, ongoing contests, recent comments and new problems are easily accessible from the home page.

Internationalized interface

Use the site in whatever language you're most comfortable in — visit translate.dmoj.ca to check the translation status of your preferred language. Problem authors can provide statements in multiple languages, and DMOJ will display the most relevant one to a reader.

The DMOJ admin interface is highly versatile, and can be efficiently used for anything from managing users to authoring problem statements.

Supported Languages

Check out DMOJ/judge-server for more judging backend details.

Supported languages include:

  • C++ 11/14/17/20 (GCC and Clang)
  • C 99/11
  • Java 8/9/10/11/15/17
  • Python 2/3
  • PyPy 2/3
  • Pascal
  • Perl
  • Mono C#/F#/VB

The judge can also grade in the languages listed below. These languages are less tested and more likely to be buggy.

  • Ada
  • AWK
  • COBOL
  • D
  • Dart
  • Fortran
  • Forth
  • Go
  • Groovy
  • GAS x86/x64/ARM
  • Haskell
  • INTERCAL
  • Kotlin
  • Lua
  • NASM x86/x64
  • Objective-C
  • OCaml
  • PHP
  • Pike
  • Prolog
  • Racket
  • Ruby
  • Rust
  • Scala
  • Chicken Scheme
  • sed
  • Steel Bank Common Lisp
  • Swift
  • Tcl
  • Turing
  • V8 JavaScript
  • Brain****
  • Zig