A multi-threaded program judging service that can handle up to 96 concurrent threads for evaluating C/C++ programs against test cases.
- 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
continue-break <program> <test_data>- Python 3.x
- MinGW Pack (for C/C++ compilation)
- 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 file should contain test cases separated by blank lines. Each test case consists of:
- Input data (multiple lines)
- Expected output (single line)
Example:
1 2
3
3 4
7
5 6
11
The program outputs results to stdout in the following format:
Test X: AC- Test case passedTest X: WA- Test case failed with explanationTest X: TLE/MLE/OLE/CE/RE- Test case failed with reason
# Compile and run
python continue-break.py program.cpp test_cases.txt