parthmittal / polygon2domjudge

A simple program to convert CodeForces Polygon ZIP packages to Domjudge ZIP Packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

polygon2domjudge

A simple program to convert CodeForces Polygon ZIP packages to Domjudge ZIP Packages

usage: p2d.py [-h] [--code CODE] [--sample SAMPLE] [--color COLOR] [-o OUTPUT]
              [--no-delete] [--add-html] [--ext EXT]
              package

Process Polygon Package to Domjudge Package.

positional arguments:
  package               path of the polygon package

optional arguments:
  -h, --help            show this help message and exit
  --code CODE           problem code for domjudge
  --sample SAMPLE       Specify the filename for sample test. Defaults to '01'
  --num-samples NUM_SAMPLES
						Specify number of sample test cases. Defaults to 1.
  --color COLOR         problem color for domjudge (in RRGGBB format)
  -o OUTPUT, --output OUTPUT
                        Output Package directory
  --no-delete           Don't delete the output directory
  --add-html            Add Problem statement in HTML form
  --ext EXT             Set extension for the OUTPUT files in testset

About

A simple program to convert CodeForces Polygon ZIP packages to Domjudge ZIP Packages

License:Apache License 2.0


Languages

Language:Python 100.0%