Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- int main() {
- while (true) {
- system("data.exe > test.txt");
- system("right.exe < test.txt > right_ans.txt");
- system("test.exe < test.txt > test_ans.txt");
- if (system("fc right_ans.txt test_ans.txt")) {
- break;
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement