Codeforces API wrapper for python
Project description
python-codeforces
Codeforces API wrapper for python
Installation
Using pip
pip install python-codeforces
From source
git clone https://github.com/Mukundan314/python-codeforces.git
cd python-codeforces
pip install .
For Development
git clone https://github.com/Mukundan314/python-codeforces.git
cd python-codeforces
pip install -e .
Using cf-run
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
Documentation can be found at https://python-codeforces.readthedocs.io/en/latest/
License
See LICENSE.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for python_codeforces-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0051db2e5e4dc19484bd89379f7a3adf89c6d896baea9d6f54be49cf8bb207fc |
|
MD5 | 7e218c8f59ee5dfd21e9aa2c4e0062c1 |
|
BLAKE2b-256 | 8573fb721c5961391af9a6c77b90f18a5eee4c0314ad3aac831c451c314b3c47 |