-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
Its creates problem given a judge and a problem.
cjudge-create judge problem
This will create a problem folder which consists of:
problem
├── main.cpp
├── problem.pdf
├── .meta
└── samples
├── 1.in
└── 2.out
-
kattis
: Kattis -
uva
: Uva Online Judge -
aer
: ¡Acepta el Reto!
Note
It is possible to provide no judge. In this case the problem created will have empty test samples, no statement and you won't be able to submit to any judge.
cjudge-create problem
Warning
If you want to download Kattis problem statement you might find some problem if you don't have installed latexmk
installed. Because kattis problem statements aren't directly downloaded, instead they are created using LaTeX with my package kattispdf.
-p PATH
, --path PATH
: By default the problem will be created as a folder in the current directory. If a PATH
is provided it will be created inside the given path.
-f
, --force
: By default the problem won't be created if the folder already exists. If --force
this behaviour is overriden.
--nostatement
: By the default the a problem statement is created. If '--nostatement' this behaviour is overriden.
--nosample
: By the default the a problem samples are downloaded. If '--nosample' empty sample test will be created.
Its displays online information of a problem.
cjudge-info judge problem
or
cjudge-info problem-folder
Note
In the case of problems without a judge, little to no information will be displayed.
Submits a problem to the corresponding judge.
cjudge-submit problem-folder
Important
User and password of the judge will be necessary every time you try to submit a problem.
Warning
When using kattis you will need to introduce your token and username into the config file.
-n
, --notest
: By default the problem is tested before being submitted. If --notest
this behaviour is overriden.