Chri_K

对拍(Linux)
#include<cstdio>
#include<cstdlib>
using namespace std;
int main(){
    while(1){
        system("./gen");
        system("./bf");
        system("./right");
        if(system("diff bf.out right.out")){
            printf("WA\n");
            break;
        }
        else printf("AC\n");
    }
    return 0;
}

 

posted on 2020-10-27 14:56  Chri_K  阅读(2)  评论(0编辑  收藏  举报