theOldChun

ZJZSZX

[板子]对拍

#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cmath>
#include<ctime>
#include<algorithm>
#define ll long long
using namespace std;
int main(){
	int cas=0;
	while(1){
		printf("Case:/t%d:\n",cas);
		system("make.exe");
		double st=clock();
		system("std.exe");
		double en=clock();
		system("baoli.exe");
		if(system("fc baoli.out std.out")){
			printf("Wrong Answer!\n");
			return 0;
		}
		else{
			printf("Accepted!\n");
			printf("Time:\t %.0lfms\n",en-st);
		}
	}
	return 0;
}

posted on 2018-11-08 10:25  theOldChun  阅读(120)  评论(0)    收藏  举报

导航