Skip to content

dilawarm/kattest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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! 🚀