https://github.com/pin3da/cf-testcases
automatically fetch sample test cases from codeforces.
https://github.com/pin3da/cf-testcases
cf-testcases codeforces progamming-contests
Last synced: 9 months ago
JSON representation
automatically fetch sample test cases from codeforces.
- Host: GitHub
- URL: https://github.com/pin3da/cf-testcases
- Owner: pin3da
- License: mpl-2.0
- Created: 2017-07-28T22:48:33.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-30T01:40:14.000Z (about 9 years ago)
- Last Synced: 2024-06-20T10:17:14.289Z (about 2 years ago)
- Topics: cf-testcases, codeforces, progamming-contests
- Language: Go
- Size: 9.77 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cf-testcases
Automatically fetch sample test cases from codeforces.
## install
```
cd $GOPATH
go get -u github.com/pin3da/cf-testcases
go install github.com/pin3da/cf-testcases
```
## usage
```
cf-testcase contest_id [problem_letter]
```
Example:
This will download all the sample test cases of `Codeforces Beta Round #57 (Div. 2)`
Note that 61 is the number in the URL of the contest.
```
cf-testcase 61
```
Download the cases for the problem D
```
cf-testcase 61 d
```
----
[Manuel Pineda](https://github.com/pin3da)