测试程序时间

可以测试自己的代码用时啦
printf("used time = %.3lf\n",(double)clock()/CLOCKS_PER_SEC);
posted @ 2011-04-20 12:12  L..  阅读(115)  评论(0编辑  收藏  举报