vruoso's blog

By vruoso, 11 years ago, In English

Hi everyone,

Just want to share the code I wrote to parse the Codeforces website when participating in the contests. The code is available at http://github.com/vkruoso/codeforces-parser. I suggest that you read the README file for more details on how the parser works and how to install/use it.

This parser is written in PHP and uses the Guzzle library. It's provided as a PHAR archive. You just need a PHP5 installation and the php5-curl extension.

At github you can find the template scripts. The test script will compile and run your code against the sample testcases, and the clear script will leave you directory with only your source files.

The parser has been created thinking about a C++ programmer. You can update the scripts to work with the language you use (in the future it may support multiple languages by itself).

Hope you like it, Greetings

Full text and comments »

  • Vote: I like it
  • +35
  • Vote: I do not like it