1 float start =clock(); 2 //TODO:再次插入需要测试的程序段 3 4 float end=clock(); 5 float time = (end-start)/CLOCKS_PER_SEC; 6 cout<<time;
时间: 2024-10-08 19:03:05
1 float start =clock(); 2 //TODO:再次插入需要测试的程序段 3 4 float end=clock(); 5 float time = (end-start)/CLOCKS_PER_SEC; 6 cout<<time;