Skip to content

akhti/codeforces

 
 

Repository files navigation

Codeforces Testing Environment

Simple workplace to perform autotesting for contests on Codeforces. By default a project for QtCreator is created to simplify coding.

How to Use

  1. Run pip install --user -r requirements.txt
  2. Run grabtests.py <contest_url>.
  3. Copy the last printed line and run it.

That's it, now you can write your code and test it against standard tests. To switch between problems, open the source file and press Ctrl+T to select an appropriate target. You can add custom tests to custom_tests.cpp.

If you don't want to use QtCreator, you still can run tests using a command like make && ./A.

About

Codeforces testing environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 49.1%
  • Python 48.5%
  • Makefile 2.4%