2 回答
叮当猫咪
TA贡献1776条经验 获得超12个赞
clock_t start = clock();
int i = 0;
while(i<1000000)
{
++i;
}
clock_t end = clock();
clock_t duration = end-start;
cout << duration << endl;
- 2 回答
- 0 关注
- 1527 浏览
添加回答
举报
0/150
提交
取消