Help myself write solution in markdown of cf faster
Assume that there is a file a.cpp
stay with the script, just like that:
cf-solution-generator
├── gen.py
└── a.cpp
Run python3 gen.py <contest id> a <blog id>
to get a .md
file with code of a.cpp
and urls of pasteme and Lucien's Blog
This script require cf-tool
After cf-tool login, run bash pull.sh <contest id> <blog id>
to get all .md
with the code you have passed
Require pyinstaller
run pyinstaller --onefile --clean --noconfirm gen.py