Skip to content

chengzi404-byte/continue-break-evaluation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Continue-Break Judging Service

A multi-threaded program judging service that can handle up to 96 concurrent threads for evaluating C/C++ programs against test cases.

Features

  • Supports up to 96 concurrent threads for parallel test execution
  • Handles multiple judging result types:
    • AC (Accept) - Correct answer
    • WA (Wrong Answer) - Incorrect output
    • TLE (Time Limit Exceeded) - Program exceeded time limit
    • MLE (Memory Limit Exceeded) - Program exceeded memory limit
    • OLE (Output Limit Exceeded) - Program output exceeded limit
    • CE (Compile Error) - Compilation failed
    • RE (Runtime Error) - Runtime error during execution

Usage

continue-break <program> <test_data>

Requirements

  • Python 3.x
  • MinGW Pack (for C/C++ compilation)

Configuration

  • Time limit: 2 seconds per test case
  • Memory limit: 256 MB per test case
  • Output limit: 10 MB per test case
  • Maximum threads: 96

Test Data Format

Test data file should contain test cases separated by blank lines. Each test case consists of:

  1. Input data (multiple lines)
  2. Expected output (single line)

Example:

1 2
3

3 4
7

5 6
11

Output Format

The program outputs results to stdout in the following format:

  • Test X: AC - Test case passed
  • Test X: WA - Test case failed with explanation
  • Test X: TLE/MLE/OLE/CE/RE - Test case failed with reason

Example

# Compile and run
python continue-break.py program.cpp test_cases.txt

About

A python-edit evaluation software. It could judge 96 tasks at one time.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors