#include <stdio.h>
#include <future>
using namespace std;
int main()
{
double START, END;
START = clock();
// [Your code here..]
END = clock();
char szTime[100];
sprintf_s(szTime, 100, "Execute time : %lf - %lf = %lf \n",END, START, END - START);
printf_s(szTime);
system("PAUSE");
}
- Jan 28 Sun 2018 01:43
-
[C++] 評估程式碼執行時間
請先 登入 以發表留言。