Parsing tool for competitive programmer
- Python 2
requests
module of Pythonbeautifulsoup4
module of Python
- Parse problem statement or contest by url (only for Codeforces now)
- Check sample inputs and outputs
- Edit your path in
cp-helper.ini
- Run
python main.py -h
to view help - Example:
python main.py -n [contest url]
: New contestpython main.py -p [problem url]
: New problempython main.py -m [path]
: active this contest to compiling and testingpython main.py -c [A, B, C, D, E]
: compile .cpp in actived contestpython main.py -t [A, B, C, D, E]
: test .cpp in actived contestpython main.py -o [A, B, C, D, E, inp]
: open .cpp, in or out files in actived contest