Skip to main content

CLI utility for different online judges.

Project description

Cjudge

Cjudge is a CLI tool build in python that allows the user to download, test and submit problems from different online judges.

Supported judges

This a list of the currently supported judges:

Installation

To install Cjudge just use pip:

pip install cjudge

Note: If you want to download Kattis problem statements from kattis you must need latexmk. Get more information

Commands

cjudge-create

Given a judge and a problem id it downloads the problem statement, test samples and creates a main.cpp from a configurable template.

cjudge-create judge problem

cjudge-info

Given a problem folder or a judge and a problem id it displays information about the selected problem.

cjudge-info judge problem

or

cjudge-info problem-folder

cjudge-test

Given a problem folder it runs the test samples located in the samples folder.

cjudge-test problem-folder

cjudge-submit

Given a problem folder it submits your problem solution to the corresponding judge.

cjudge-submit problem-folder

Note 1: It will require you to introduce login credentials every time you login.

Note 2: In Kattis the login uses a token you can get from kattis website. Get more information

Project details


Download files

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

Source Distribution

cjudge-1.0.2.tar.gz (43.7 kB view hashes)

Uploaded Source

Built Distribution

cjudge-1.0.2-py3-none-any.whl (25.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page