competitive programming environment for Linux users it allow them to compile, run and compare there results with the correct result in just one command
- Copy the input example from the programming exercise and paste it in the input file.
- Copy the output example from the programming exercise and paste it in the output file.
- Start typing your code in your preferred language in it's main file
- main.c for c
- main.cpp for c++
- main.java for java
- main.py for python
- Open terminal
- Go to project directory
cd <path>
- Run the following command
- for c
./c
- for c++
./cpp
- for java
./java
- for python
./py
- The program will complie first if there is an error it will print it else if your output equals the examples output it will print"Accepted" else it will print "Wrong answer" and the different between them
- Make sure to install java before using it, How to install java on Linux
- Python 3 is used
- The programs written in c/c++ and python prints the correct answer so the output on the screen should be "Accepted".
- While java program just prints the first number (not their sum) so the output on the screen should be "Wrong answer".