An open API service indexing awesome lists of open source software.

https://github.com/udontur/judgel

⚖️ Simple local C++ CLI judge
https://github.com/udontur/judgel

cpp easy-to-install easy-to-use judge local simple

Last synced: over 1 year ago
JSON representation

⚖️ Simple local C++ CLI judge

Awesome Lists containing this project

README

          




Judgel



⚖️ Simple local C++ CLI judge




Report Bug
·
Made with passion by Hadrian


## ⭐ Features
- Command line interface
- Available verdicts:
1. Accepted
2. Wrong Answer
3. Time Limit Exceeded
4. Runtime Error
5. Compilation Error
- Simple to install
- Simple to use

## 🛠️ Installation (Linux)
> [!NOTE]
> The ```make``` and ```g++``` package must be installed on your system
1. Clone the repository
```sh
git clone https://github.com/udontur/judgel.git
```
2. Navigate to the cloned repository
```sh
cd judgel
```
3. Install ```Judgel```
```sh
make install
```
> [!TIP]
> Press ```ctrl``` + ```shift``` + ```v``` to paste in the terminal.

## ⚙️ Prerequisites
1. Testcase folder name: ```testcase```
- Testcase file format: ```ABC.in``` and ```ABC.out```
2. Code file name: ```main.cpp```
> [!NOTE]
> Unexpected error may be produced if these conditions are not satisfied.
## 🔧 Usage
Run the following command in your **code directory**:
```sh
judgel

> [!TIP]
> 1. Leave the time limit blank for a 1 second time limit.
> 2. ```cd /path/to/dir``` to navigate to your code directory

## 💾 Demo
[![Watch the Demo](https://img.youtube.com/vi/e7oIRxXZv3U/0.jpg)](https://www.youtube.com/watch?v=e7oIRxXZv3U)