Skip to content

Commands

NotTete edited this page Jul 29, 2024 · 14 revisions

cjudge-create

Its creates problem given a judge and a problem.

Basic usage

cjudge-create judge problem

List of available judges:

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

Extra parameters

-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.

Using Kattis

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.


cjudge-info

Its displays online information of a problem

Basic usage

cjudge-info judge problem

or

cjudge-info problem-folder

Example

cjudge-submit

cjudge-test

Clone this wiki locally