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.3
# 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
Built Distribution
File details
Details for the file cftool-1.0.4.tar.gz
.
File metadata
- Download URL: cftool-1.0.4.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73b655486c156f7d03ba404652b775da73dae9434509b2e18d3cc772bec4c7ad |
|
MD5 | ad0620f359e05a5e07cade8d52d9dbfa |
|
BLAKE2b-256 | 1ea7d18391aff10c72358f18ffc5287223675588c3762acaaa4bf8b26f76f208 |
File details
Details for the file cftool-1.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: cftool-1.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20b9f575af85210e867fe4aabf0d83e99dab0a5dbee4b04d6b07597667f116e6 |
|
MD5 | 17ae263adc1419335899f89c480ee01f |
|
BLAKE2b-256 | d8b3a7dda7b5658efaa90c369c716c42b4c9ca4d96a41a1e7d67b0e2da9b7e95 |