kattest

Script for testing your code with the sample data files provided by Kattis, Code Forces and CSES!


License
MIT
Install
pip install kattest==1.7

Documentation

kattest

Script for testing your code with the sample data files provided by Kattis, Code Forces and CSES!

Requirements

  • Python 3.6 or above.
  • Compilers for the different languages you want to use with kattest. Check out Kattis for more.

Supported languages

  • C
  • C#
  • C++
  • Haskell
  • Java
  • Python 3

How to install

On Ubuntu / Mint, install kattest with the following commands:

sudo apt update
sudo apt install python3-dev python3-pip python3-setuptools
sudo pip3 install kattest

On other systems, install kattest by using pip:

pip install kattest

How to run

Run:

kattest --help

to see which arguments to pass to kattest.

Example

kattest --site {SITE} --problem {PROBLEMID} --filepath {FILEPATH}

Enjoy! 🚀