#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
mt19937_64 mrand(random_device{}());
const LL mod = 1e12;
int main() {
system("g++ -std=c++11 data.cpp -o data.exe");
system("g++ -std=c++11 wa.cpp -o wa.exe");
system("g++ -std=c++11 ac.cpp -o ac.exe");
int cas = 0;
while (1) {
cout << cas ++ << endl;
system("data.exe > data.in");
system("ac.exe < data.in > ac.out");
system("wa.exe < data.in > wa.out");
if (system("fc ac.out wa.out"))break;
}
return 0;
}
对拍
于 2022-10-29 23:24:29 首次发布