Open Kattis solutions to problems in various languages
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.
2 command line arguments:
url=<PROBLEM_URL>
: (required) used to specify the problem url.--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.
python problem_importer.py url="PROBLEM_URL" --dir "PATH_TO_DIRECTORY"