Coderunner is a tool used by competitive programmers to compile and run their code. The latest version provides a UI interface for users to set paths to input, output and code files and also provides flexibility for users to set the time limit for code execution. Coderunner can be installed on Linux systems and supports C++, Java and Python.
Language | Compiler / Interpreter |
---|---|
C++ | GNU G++ |
Java | Default JDK |
Python | Python 3.9.6 |
To install coderunner, click here to download the coderunner Debian file and perform the following steps.
- Navigate to
~/Downloads
to find the downloaded Debian package. - Install coderunner using the command
sudo dpkg -i coderunner.deb
. - Run the command
coderunner --version
to verify installation. - Run the command
coderunner --install
to install the UI application.
UI Element | Type | Description |
---|---|---|
Run | Button | Runs the code written in the path provided for the code file, and reads the input from the path provided for the input file, and writes the output to the path provided for the output file. |
Resize | Button | Enlarges the window and allows the user to edit the paths for the files, execution time limit and the compiler to be used. |
Path to code file | Textbox | Path for the code file must be provided. |
Path to input file | Textbox | Path for the input file must be provided. |
Path to output file | Textbox | Path for the output file must be provided. |
Time in seconds | Textbox | Execution time limit (in seconds) must be provided. |
Select compiler | Drop down list | Select the desired compiler. |
- Coderunner can be used on Linux systems.
- Coderunner can be started by running the command
coderunner
in the terminal. - The paths provided in the textbox for the code, input and output files may either be absolute paths or relative paths.
- The execution time limit must have a value between 1 and 9 seconds.