Offline Judge for Competitive Coding
- Clone the Repository.
- Switch to
master
branch. - To build the project, enter
make
. - Run
./coff
. - To remove the program compiled in step 3, enter
make clean
.
As soon as a person builds Coff using make
, an example question is saved to
~/coff/quest
directory, with name "example1.quest" .
You can see the question by running:
./coff -s example1.quest
Write a program for it and save it ~/coff/ans
. Lets say you made "1.c".
Type:
./coff -q example1.quest -l c -t 1.c
All program files must be saved inside ~/coff/ans
or as in the path specified
in configuration file, else provide full path to your profram.
One can also find sample C/C++, Python and Javascript programs which were used
in testing of Coff. They are in test_programs/
directory.
- Follow till Step 2 of "How to run this Project?"
- Enter
make coff-quest
. - Run
./coff-quest
. - To remove the program compiled in step 2, enter
make clean
.
- Run
make coff-config
.
To see user, documentation, run:
./coff -d
or
./coff --doc