#include<cstdlib>
#include<cstdio>
#include<ctime>
int main() {
for (int T = 1; T <= 10000; T++) {
system("random.exe");
double st = clock();
system("test.exe");
double ed = clock();
system("std.exe");
if (system("fc test.out std.out")) {
puts("Wrong Answer");
return 0;
}
else {
printf("Accepted, #%d, 用时 %.0lfms\n", T, ed - st);
}
}
}对拍模板
文章信息与版本
文章信息
- 发布
- 2020年8月14日
- 收录
- 2026年8月16日
- 更新
- 2026年11月15日
- 篇幅
- 约 1 分钟
- 获赞
- 1