test.cc 166 B

12345678
  1. #include <cstdlib>
  2. int main() {
  3. system("./a.out < in.txt > a.txt");
  4. system("java Test < in.txt > b.txt");
  5. system("sdiff -s a.txt b.txt > c.txt");
  6. return 0;
  7. }