CP Runner is a script that runs any competitive program on an input, prints the output and diffs it against it the expected output. You can use it for programs of any language, so long you include it in the config file. By default, it is configured to work on C++, Python, Java and Go programs.
For more information, please look at its Github page.
The main advantages of this script are:
- Diff is a built in feature
- Input caching — CP Runner caches the last 100 inputs and uses it for re-runs.
- Written in platform-independent Python — so should work on any platform
- Configurable for custom flags and any language
For bugs and feature requests, please file here.