验证中...
Languages: C/C++
Categories: 编程语言基础
Latest update 2019-03-26 11:13
clock
Raw Copy
/****************************************
*代码编写者
*https://zouzhongliang.com/
*****************************************/
#include<iostream>
#include<ctime>
using namespace std;
int main()
{
long n=0;
clock_t start,finish;
start=clock();
{
//具体要测试的代码
}
finish=clock();
cout<<(finish-start)/CLOCKS_PER_SEC<<endl;
return 0;
}

Comment list( 0 )

You need to Sign in for post a comment

Help Search

183227_9af5e6a8_1826025 111910_4d91f001_1826025