#P1001. 评测机速度测试
评测机速度测试
Background
本题目用于测试评测机速度。请勿恶意提交。
Description
测试评测机一秒可以执行的运算次数,请使用以下代码提交。
#include<cstdio>
#include<ctime>
#include<cstdlib>
int main()
{
long cnt = 1e8;
while(cnt>0)
{
rand();
cnt--;
}
printf("%.3lf\n",(1e8)/((double)clock()/CLOCKS_PER_SEC));
return 0;
}
Format
Input
无。
Output
输出评测机一秒能执行的运算次数。 本题配置了SPJ,如果评测机一秒运算次数<1e8,则WA。
Samples
100000000