https://github.com/iphelf/comparator
ACM对拍脚本!输入:自己写的代码、标准答案代码、随机数据生成器代码;输出:AC,或,WA及WA的输入输出。
https://github.com/iphelf/comparator
acm-icpc automation comparison
Last synced: 11 months ago
JSON representation
ACM对拍脚本!输入:自己写的代码、标准答案代码、随机数据生成器代码;输出:AC,或,WA及WA的输入输出。
- Host: GitHub
- URL: https://github.com/iphelf/comparator
- Owner: iphelf
- Created: 2019-11-02T12:49:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-19T08:10:00.000Z (over 6 years ago)
- Last Synced: 2025-02-26T09:31:40.283Z (over 1 year ago)
- Topics: acm-icpc, automation, comparison
- Language: C++
- Homepage:
- Size: 146 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Comparator
# 对拍
输入:自己写的代码(my.cpp)、标准答案代码(std.cpp)、随机数据生成器代码(in.cpp);输出:AC,或,WA及WA的输入输出(wa目录下)。
运行环境:Linux终端。
运行方式:
- 先来一个`chmod +x compare.sh`和`chmod +x single.sh`
- 创建wa文件夹
- `./compare.sh [RoundNumber [MaximumWrongAnswerNumber]]`
RoundNumber默认是100,MaximumWrongAnswerNumber默认是10
- `./single.sh [InputFileName]`
InputFileName默认是in.txt
截图: