#include "stdafx.h" #include<iostream> #include<math.h> #include<string> #include<time.h> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { double t1=clock(); /* */ double t2=clock(); printf("Time Used = %.2lf/n",(t2-t1)/CLOCKS_PER_SEC); system("pause"); return 0; }