Hi, Codeforces.
GoCF
A Contest parser for codeforces ( only C++ )
Requirements
- Python v2/3
- Python Beautiful Soup
- Colorama
tested on Ubuntu 14.04
Screenshots
Instructions
How to install it?
- copy
gocf
andincf
file to/bin/
directory - give permissions to them by
sudo chmod 755 /bin/gocf
andsudo chmod 755 /bin/incf
- Now create a directory in your
home
folder and name itGoCF
- copy
Parse.py
fromGoCF_files
toGoCF
and if neccessary dochmod
How to use it?
- After the contest begins, fire up your terminal and type incf
- Now, enter the contest code
- GoCF will now download the test cases for you!
- Now, for example let us take contest code as 624
, name your problems as 624_A.cpp
, 624_B.cpp
, . .(Case sensitive)
- Code in your favourite editor
- now, for testing your solution just gocf 624_A.cpp
Edit :
- Supports all the contests! :)
- now GoCF Compiles your soltion
- detects TLE [ timeout :
2 secs
] - If Wrong Answer, shows
Input
,Expected output
&Received output
(easy debugging!)
That's it!
Star it to show your support!