Algorithms for competitive programming.
We're using this tool for testing. Supported judges are listed here.
Ideally, for every algorithm foo.cpp
there will be a corresponding file foo.test.cpp
that uses it to solve some problem in an online judge. This helps finding any errors in the algorithm. The test file contains the link to the problem in the first line as #define PROBLEM "link"
, followed by #define IGNORE
if that problem is from an unsupported judge (see example.test.cpp
).