对拍linux

2022/2/14 7:13:09

本文主要是介绍对拍linux,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

#include<bits/stdc++.h>
using namespace std;
int main(){
int i;
for (i=1;;i++){
printf("The result of No. %d Case is: ",i);
system("./rand");
system("./std");
system("./tmp");
if(system("diff std.out tmp.out")){
printf("Wrong Answer\n");
return 0;
}
else printf("Accepted\n");
}
return 0;
}



这篇关于对拍linux的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程