#include<time.h>
clock_t start, end;
start = clock();
end = clock();
duration = (double)(end - start) / CLOCKS_PER_SEC;
程序计时功能
最新推荐文章于 2025-01-15 12:03:24 发布
#include<time.h>
clock_t start, end;
start = clock();
end = clock();
duration = (double)(end - start) / CLOCKS_PER_SEC;