Skip to content
NotTete edited this page Jul 29, 2024 · 2 revisions

Kattis Problem Statement

In order to get problem statements from kattis, cjudge uses kattispdf which needs latexmk underhood.

Linux

latexmk is available in almost every package manager. Search it on your favourite package manager.

Windows

In order to uselatexmk in Windows you need to install perl.

# If you have pearl install you can omit this
winget install "Strawberry Perl" 
winget install MiKTeX

Kattis login

Due to the numerous methods of logging in kattis, cjudge uses the acess the same token and username the official kattis-cli offers.

You can get your token and username logging in the following link: https://open.kattis.com/download/kattisrc

Once you get you need to paste your token and user name in the corresponding config file parameter. The configuration file should be located on $HOME/.cjudge/config.json

Clone this wiki locally