1 #include <time.h>
 2 
 3 
 4 time_t start, end;
 5 start = clock();
 6 
 7 /***********************
 8 
 9 代码
10 
11 ***********************/
12 end = clock();
13 cout << "total time is " << end - start << "ms" << endl;

 

posted on 2019-05-07 17:51  苏州城外啲微笑  阅读(152)  评论(0编辑  收藏  举报