摘要: #include <stdio.h> #include <time.h> #include <math.h> clock_t start, stop; //clock_t为clock()返回的变量类型 double duration; //记录被测函数运行时间,以秒为单位 int main(int argc, char **argv) { /* 不再测试范围内的准备工作写在clock()调用之前 阅读全文
posted @ 2019-08-09 19:57 落星无尘_Will 阅读(862) 评论(0) 推荐(0) 编辑