Skip to main content

Get inputs and outputs from Codeforces and others online judges

Project description

# cftool 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/cftool ` Or ` python -m pip install cftool `

# Version 1.0.5

# Usage

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

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

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

Or you can run cftool test uri1574.cc which is a syntactic sugar for cftool 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.7.tar.gz (10.3 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for cftool-1.0.7.tar.gz
Algorithm Hash digest
SHA256 af18925ae225c51763cb8c906bf293edda705ca5352be22c4bb9bf1f53768e45
MD5 f67358f54bfb49026232a9cc113a246e
BLAKE2b-256 ee78b274ad88101b8384ce222fe47de4c1327dfa3e9d077e1b442d35638bdeef

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