由於程式相當簡單也沒什麼深度,所以我就寫了一篇給自己方便copy用的網誌XD
1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
using namespace std; int () { clock_t start,end; start = clock(); do something */ end=clock(); printf("Parsern Time: %f secondsn", (double)(end-start)/CLOCKS_PER_SEC); }
|
⬅️ Go back
近期评论