头文件
#include<time.h>
clock_t start,stop;
double t;
start=clock();
//函数
stop=clock();
t=(double)(stop-start)/CLK_TCK;
时间函数
最新推荐文章于 2022-12-11 22:23:26 发布
头文件
#include<time.h>
clock_t start,stop;
double t;
start=clock();
//函数
stop=clock();
t=(double)(stop-start)/CLK_TCK;