wgranados / kattis

Open Kattis solutions to problems in various languages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kattis

Open Kattis solutions to problems in various languages

Instructions

To use the problem_importer.py script first ensure you have python installed.

Set up a local python virtual environment for your kattis solutions like in this repo, and then run pip install -r requirements.txt to grab all dependencies for the script.

Script Usage

2 command line arguments:

  1. url=<PROBLEM_URL> : (required) used to specify the problem url.
  2. --dir <DIR_PATH> : (optional) used to specify directory to store files.

If no directory is provided then by default, the script assumes you have a similar folder structure as this repo, and creates a folder for the problem within /src/<problem_name> and adds the information pertaining within.

Run Command:

python problem_importer.py url="PROBLEM_URL" --dir "PATH_TO_DIRECTORY"

About

Open Kattis solutions to problems in various languages

License:GNU General Public License v3.0


Languages

Language:Python 39.9%Language:C++ 31.4%Language:Java 28.7%