CP Runner — A script to quickly run and diff your competitive programs

Revision en4, by DMCoder, 2021-04-18 17:17:47

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.

Tags #tool, #python, #opensource

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English DMCoder 2021-04-18 17:17:47 0 (published)
en3 English DMCoder 2021-04-18 17:17:13 99
en2 English DMCoder 2021-04-18 17:15:17 131
en1 English DMCoder 2021-04-18 17:13:06 700 Initial revision (saved to drafts)