Skip to main content

Get inputs and outputs from Codeforces and others online judges

Project description

# cf Get inputs and outputs for a specific problem on [codeforces](https://www.codeforces.com) or [URI](www.urionlinejudge.com.br/).

![Example](http://i.imgur.com/ZDCb1po.png?1)

# Install

Make sure you have Python installed. ` python -m pip install git+https://github.com/guilhermeleobas/cf `

# Version 1.2

# Usage

### get ` cf get cf550A # Download inputs and outputs for problem 550A cf get cf600 # Download inputs and outputs for all problems on contest 600. cf get uri1400 # URI ` You can also specify a link to get inputs and outputs. ` cf get https://www.urionlinejudge.com.br/judge/pt/problems/view/1001 `

### compile ` cf compile code.cc # Compile code.cc using g++. cf compile -l c++11 code.cc # Compile code.cc with g++ 11. cf compile code.py # nothing will happen. `

### run/test Run code.cc with 620A inputs and check if their outputs are correct. ` cf run code.cc cf620A `

Or you can run cf test uri1574.cc which is a syntactic sugar for cf run uri1574.cc uri1574

To get full list of available commands run cf with –help flag.

# License MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cftool-1.0.2.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

cftool-1.0.2-py2.py3-none-any.whl (9.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file cftool-1.0.2.tar.gz.

File metadata

  • Download URL: cftool-1.0.2.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cftool-1.0.2.tar.gz
Algorithm Hash digest
SHA256 328efbf00c855cae3a318ce3ef850d2c49b7f372eb868a2a3dbf4bc240ca9094
MD5 4cf82fb8449af05127fe5f8355e9414f
BLAKE2b-256 bdb777cb8d364a8a884a0c880e4531d7f57c9dc08dc4d3cc87636a6398ed0ce5

See more details on using hashes here.

File details

Details for the file cftool-1.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cftool-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d88e9d5176dd84a7c7a9921a93189b975ae09e17e6a7c8b1d0ad265c4bb55dd3
MD5 bcaa2dbcbcde5b6b27429ba30f5b1e46
BLAKE2b-256 3748f75b8aa0a7bc5c4a602976b077761b5e43f60eeeb27a8d5642f6527e2b2d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page