git clone https://github.com/oToToT/Polygon2TIOJ
cd Polygon2TIOJ
pip install -r requirements.txt
./main.py filename [filename] --url=URL
filename
is the path to zip downloaded from polygon, notice that you should download Full Package of Linux.URL
is the url to TIOJ.- if
--update
is being set, you could update problem with its problem id by./main.py filename ID --url=URL
. - if
--remove_tests
is being set, you could remove tests with its problem id by./main.py ID [ID] --url=URL
.
git clone https://github.com/oToToT/Polygon2TIOJ
cd Polygon2TIOJ
./download.sh [username] [cid]
- Input your password
./main.py *.zip --url=URL
rm *.zip
Thanks @WillyPillow for an easy tool to download contest packages from Polygon
- check is user admin