可爱的对拍

#include<bits/stdc++.h>
using namespace std;
int main(){
	int n;cin>>n;
	for(int i = 1;i<=n;i++){
		system("date.exe>1.in");
		double st=clock();
		system("ans.exe<1.in>1.out");
		double ed=clock();
		system("ans_bad.exe<1.in>1_bad.out");
		if(system("fc 1.out 1_bad.out>nul")){
			system("cls");
			puts("Wrong Answer!");
			printf("Check Point #%d",i); 
			return 0;
		}
		else{
			printf("Accepted Point#%d Time %.3fms\n",i,ed-st);
		}
	}
	system("cls");
	printf("Test Points:%d \nReslt:Accepted!!!!!!!!!!!!!!!!!",n);
} 
上一篇:英语写作翻译-动词(一)


下一篇:[BSidesCF 2020]Had a bad day