摘要: 今天在学习浙大的数据结构课程,陈越老师让我们写代码来比较迭代和递归的性能差别,遂使用了ctime or time.h中的clock函数来计算程序运行耗时。 方法 #include<ctime> int main(){ clock_t start, finish; // 用来保存当前时钟的变量类型 s 阅读全文
posted @ 2021-03-29 16:10 sys_malloc 阅读(667) 评论(0) 推荐(0)
总访问: counter for blog 次