C++复制#include <bits/stdc++.h> using namespace std; int main() { while (1) { system("sj.exe");//生成数据 system("bl.exe");//暴力程序 system("a.exe");//要检测的程序 if (system("fc a-bl.out a.out")) break;//检测两个输出文件是否一样 } return 0; }