摘要:
#include "stdafx.h"#include <time.h>#include <iostream>#define N 10000using namespace std;bool algorithm_count();int main (){time_t start,end;double diff=0.0;time(&start);if (algorithm_count())//运行被测代码{time(&end);diff=difftime(end,start);cout << "该代码段运行周期: &q 阅读全文