里面的运行出来的可执行文件都没有扩展名。。
对拍代码差不多是这样:
#include <stdio.h>
#include <stdlib.h>
int main() {
while (true) {
system("gen > test.in");
system("test1.exe < test.in > a.out");
system("test2.exe < test.in > b.out");
if (system("fc a.out b.out")) {
system("pause");
return 0;
}
}
}
然后运行后说找不到文件。
求助教教NOIlinux怎么对拍。