Codeforces API wrapper for python
pip install python-codeforces
git clone https://github.com/Mukundan314/python-codeforces.git
cd python-codeforces
pip install .
git clone https://github.com/Mukundan314/python-codeforces.git
cd python-codeforces
pip install -e .
cf-run [contestId] [index] [program]
Example:
$ gcc a.c -o ./out
$ cf-run 1100 A ./out
A. Roman and Browser
time limit per test: 1 second
memory limit per test: 256 megabytes
--------------------------------------------------------------------------------
Time: 16 ms
Input
4 2
1 1 -1 1
Participant's output
2
Jury's answer
2
--------------------------------------------------------------------------------
Time: 19 ms
Input
14 3
-1 1 -1 -1 1 -1 -1 1 -1 -1 1 -1 -1 1
Participant's output
9
Jury's answer
9
Documentation can be found at https://python-codeforces.readthedocs.io/en/latest/
See LICENSE.