#P2506. 测试程序运行时间
测试程序运行时间
Description
<br />
#include<bits/stdc++.h>
using namespace std;
int main()
{
clock_t a,b;
a=clock();
int p=1;
for(int i=1;i<=100000;i++)
for(int j=1;j<=10000;j++)
{
p=j+1;
}
b=clock();
printf("%d\n",b-a);
return 0;
}
<br />
<br />
<br />
Hint
#include