对拍模板
#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);
}
}
}