Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Mukundan314/python-codeforces

Repository files navigation

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.

About

Codeforces API wrapper for python

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.