Skip to content

Commit 4622eef

Browse files
committed
chore(readme): Add instructions for using cf-run
1 parent 07b8a97 commit 4622eef

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,50 @@ cd python-codeforces
2828
pip install -e .
2929
```
3030

31+
## Using `cf-run`
32+
33+
```shell
34+
cf-run [contestId] [index] [program]
35+
```
36+
37+
Example:
38+
39+
```shell
40+
$ gcc a.c -o ./out
41+
$ cf-run 1100 A ./out
42+
A. Roman and Browser
43+
time limit per test: 1 second
44+
memory limit per test: 256 megabytes
45+
46+
--------------------------------------------------------------------------------
47+
48+
Time: 16 ms
49+
50+
Input
51+
4 2
52+
1 1 -1 1
53+
54+
Participant's output
55+
2
56+
57+
Jury's answer
58+
2
59+
60+
--------------------------------------------------------------------------------
61+
62+
Time: 19 ms
63+
64+
Input
65+
14 3
66+
-1 1 -1 -1 1 -1 -1 1 -1 -1 1 -1 -1 1
67+
68+
Participant's output
69+
9
70+
71+
Jury's answer
72+
9
73+
```
74+
3175
## Documentation
3276

3377
Documentation can be found at https://python-codeforces.readthedocs.io/en/latest/

0 commit comments

Comments
 (0)