📅  最后修改于: 2022-03-11 14:44:51.907000             🧑  作者: Mango
#include
#include
unsigned t0, t1;
t0=clock()
// Code to execute
t1 = clock();
double time = (double(t1-t0)/CLOCKS_PER_SEC);
cout << "Execution Time: " << time << endl;