check.cpp
#include <bits/stdc++.h>
//#define int long long
//#define INF 0x3f3f3f3f
#define endl '\n'
using namespace std;
//const int N = ;
signed main() {
// freopen("", "r", stdin);
// freopen("", "w", stdout);
// ios::sync_with_stdio(0); cin.tie(0);
int tot = 0;
while ( ++ tot) {
cout << tot << endl;
system("data.exe"); system("AC.exe"); system("WA.exe");
if (system("fc AC.txt WA.txt")) break;
}
return 0;
}