Skip to content

Tools to manage problem packages using the Kattis problem package format.

License

Notifications You must be signed in to change notification settings

eldering/problemtools

This branch is 462 commits behind Kattis/problemtools:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0660b97 · Mar 22, 2015

History

24 Commits
Oct 5, 2014
Dec 17, 2014
Aug 1, 2014
Feb 26, 2015
Aug 1, 2014
Oct 5, 2014
Dec 17, 2014
Jan 15, 2015
Dec 17, 2014
Dec 17, 2014
Aug 1, 2014
Oct 6, 2014
Oct 6, 2014
Nov 11, 2014
Aug 1, 2014
Aug 1, 2014
Nov 11, 2014

Repository files navigation

Kattis Problem Tools

These are tools to manage problem packages using the Kattis problem package format.

Requirements

To run the tools, you need Python with the YAML and PlasTeX libraries, and a LaTeX installation. In Ubuntu, the precise dependencies are as follows:

sudo apt-get install python python-yaml python-plastex \
   texlive-latex-recommended texlive-fonts-recommended \
   texlive-latex-extra texlive-lang-cyrillic imagemagick tidy

The problem tools have not been tested on other platforms. If you do test on another platform, we'd be happy to hear what worked and what did not work, so that we can write proper instructions (and try to figure out how to make the non-working stuff work).

Build all the support programs by running

make

The checktestdata program requires a relatively recent gcc version (4.8 suffices), but is only needed for running checktestdata input validation scripts. The rest of problemtools will run fine without it, but in this case you need to build the other programs separately, e.g. by running

(cd default_validator && make)
(cd interactive && make)

Programs Provided

The problem tools provide the following three programs:

  • verifyproblem.py: run a complete check on a problem
  • problem2pdf.py: convert a problem statement to pdf
  • problem2html.py: convert a problem statement to html

Running any of them without any command-line options gives documentation on what parameters they accept.

About

Tools to manage problem packages using the Kattis problem package format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 72.9%
  • TeX 14.3%
  • C++ 10.3%
  • Other 2.5%