Cjudge is a CLI tool build in python that allows the user to download, test and submit problems from different online judges.
This a list of the currently supported judges:
To install Cjudge just use pip
:
pip install cjudge
Warning
If you want to download Kattis problem statements from kattis you must need latexmk
. Get more information
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
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
Given a problem folder it runs the test samples located in the samples
folder.
cjudge-test problem-folder
Given a problem folder it submits your problem solution to the corresponding judge.
cjudge-submit problem-folder
Important
It will require you to introduce login credentials every time you login.
Warning
In Kattis the login uses a token you can get from kattis website. Get more information
You can configure cjudge
in the following folder $HOME/.cjudge
. Get more information