#include<stdio.h>
#include<time.h>
void timef(double);
int main(void)
{
double delay;
clock_t a=clock();
timef(1000000000);
clock_t b=clock();
delay = (double)(b - a) / CLOCKS_PER_SEC;
printf("%.2f",delay);
return 0;
}
void timef(double times)
{
for (int i = 0; i < times; i++)
continue;
}
C PRIMER PLUS 第16章 第4题
最新推荐文章于 2024-09-08 19:50:39 发布