为AG而写qwq
#include<bits/stdc++.h>
using namespace std;
int main()
{
for(int i=1;i!=-1;i++)
{
system("data.exe");
int t=clock();
system("cannon.exe");
int b=clock();
cout<<"cannon的第"<<setw(6)<<rand()<<" "<<"次运行时间为: "<<b-t<<"ms"<<endl;
}
}
color A
echo off
:loop
echo 已运行%a%次
set /a a+=1
shuju.exe
dou.exe
factory.exe
fc factory1.out factory2.out
if not errorlevel 1 goto loop
pause
原文:https://www.cnblogs.com/enceladus-return0/p/9750290.html