Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

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

Правка en3, от DMCoder, 2021-04-18 17:17:13

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.

Теги #tool, #python, #opensource

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский DMCoder 2021-04-18 17:17:47 0 (published)
en3 Английский DMCoder 2021-04-18 17:17:13 99
en2 Английский DMCoder 2021-04-18 17:15:17 131
en1 Английский DMCoder 2021-04-18 17:13:06 700 Initial revision (saved to drafts)