头文件
#include<time.h>
clock_t start,stop;
double t;
start=clock();
//函数
stop=clock();
t=(double)(stop-start)/CLK_TCK;
时间函数
最新推荐文章于 2022-07-14 13:05:10 发布
头文件
#include<time.h>
clock_t start,stop;
double t;
start=clock();
//函数
stop=clock();
t=(double)(stop-start)/CLK_TCK;