Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A Local Judge for OIers and ACMers by _rqy

Project Description

A convenient local judge. By _rqy.


1   Install

You can install it by pip3.

$ pip3 install --upgrade rlj

Or by git

$ git clone
$ cd RLJ
$ sudo python3 install

2   Usage

2.1   Config File

Make a File named config.json, It should include:

Source``(optional),  ``Input, Output, #, Time Limit, Memory Limit, Compiling Parameter.

For example:

  "Source"       : "example.cpp",
  "Input"        : "",
  "Output"       : "example#.ans",
  "#"            : [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
  "Time Limit"   : 1000,
  "Memory Limit" : 128

A easier way is run:

$ rlj --genConfig [FILE]

to generate config.json (and use the argument ‘FILE’ to modify its name).

2.2   Data

Please place all data files under the folder data.

e.g. in the case of the config file above, There should be these files in data:, example1.ans,, and so on.

2.3   Judge

$ rlj [-s|--slient] [-j Source | --judge Source] [-c ConfigFile] [--O2]

To judge you only need to run rlj

If you want to see short output, you can run rlj --silent or rlj -s

For more detail you can run rlj -h.

2.4   Compiling Parameter

No parameter is applied when compiling by default.

You can add Compiling Parameter in config.json.

--O2 is able to be set when running. See above.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(7.1 kB) Copy SHA256 Hash SHA256
Source None Mar 17, 2018

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting