[ Updated ] GoCF — A Codeforces contest parser

Revision en3, by Sukeesh, 2016-02-25 23:15:33

Hi, Codeforces.

GoCF

A Contest parser for codeforces ( only C++ )

Link to github repo

Requirements

  1. Python v2/3
  2. Python Beautiful Soup
  3. Colorama

tested on Ubuntu 14.04

Screenshots

 WP  CE  TLE  WA  AC

Instructions

How to install it?

  • copy gocf and incf file to /bin/ directory
  • give permissions to them by sudo chmod 755 /bin/gocf and sudo chmod 755 /bin/incf
  • Now create a directory in your home folder and name it GoCF
  • copy Parse.py from GoCF_files to GoCF and if neccessary do chmod

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!

Hope you guys like it!!
Tags codeforces, contest, c++

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English Sukeesh 2016-06-30 20:25:18 1145 Tiny change: '588)\n\n##That's it.\n\n##EDIT' -
en3 English Sukeesh 2016-02-25 23:15:33 12
en2 English Sukeesh 2016-02-25 21:10:05 584 added new cool stuff!
en1 English Sukeesh 2016-02-14 12:03:23 1490 Initial revision (published)