69,382
社区成员
发帖
与我相关
我的任务
分享
#include <time.h>
#include <stdio.h>
#include <windows.h>
int main(void)
{
clock_t start, end;
start = clock();
Sleep(20);
end = clock();
printf("The time was: %f\n",(double) (end - start) / CLK_TCK);
return 0;
}