跳到正文

算法·理论

对拍

wwqwq约 1 分钟
原文
文章信息与版本

文章信息

发布
2023年8月12日
收录
2025年12月12日
更新
2026年10月16日
篇幅
约 1 分钟

版本

  1. v1当前
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; 
}
原文