CodeRunner(for Windows only):A tool for many online judges.

Revision en2, by Davidshx, 2022-09-12 15:30:58

CodeRunner(for Windows only)

Github (Remember to give me a star!)

A tool for many online judges.Processes testcases via Competitive Companion and uses CF-Tool to compile and test programs. ## Install

First,install and configure Competitive Companion and CF-Tool. Note:You should configure the pre-script and post-script for the CF-Tool template to compile automatically.

Download crun.exe and coderun.exe and parse2cf.exe(Download the source files if you want to.They're optional.)

Then put the files in a folder that's in the environmental variable PATH.(Search that if you don't know what it is.)

Usage

coderun [FILENAME]:test code [FILENAME] in the terminal.
crun [FILENAME]:test code [FILENAME] in a popup window.

Note: if it's the first time testing a code,the program will have to fetch the testcases first.Please click on the Competitive Companion icon in the browser to get the testcases after typing in the command.

For Dev-C++ Users

To make testing easier,you could add CodeRunner as a compiler in Dev-C++.

Use Tools>Compiler Options>Add a Blank Compiler Set(a little green plus icon).

pic1

Then enter the compiler name:CodeRunner

pic2

In the Directories page,enter the place where you put coderun.exe and crun.exe and click "Add"

pic3

Finally,configure the programs as in the following picture and click OK.

pic4

To use the tool,simply switch your compiler to CodeRunner and press the Compile button(or F9)!

pic5

A window will pop up,which will ask you to fetch the testcases and test your code.

Enjoy!

Tags tool

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Davidshx 2022-09-12 15:30:58 113
en1 English Davidshx 2022-09-12 15:20:07 2148 Initial revision (published)