2016年12月24日
摘要: 因为程序计算太快,所以clock函数捕捉不到区别。 由最后这张图知道秦九韶公式计算多项式更快。duration2比duration1快一个数量级 阅读全文
posted @ 2016-12-24 21:06 chy89224 阅读(192) 评论(0) 推荐(0) 编辑
摘要: void SelectSort(int List[], int N) { for(i=0;i<N;i++) {// 将N个整数List[0]...List[N-1]进行非递减排序, //注排好序的部分为 List[0]...List[N-1],没 好序的部分为List[i]到List[N-1] Mi 阅读全文
posted @ 2016-12-24 19:52 chy89224 阅读(94) 评论(0) 推荐(0) 编辑
摘要: //N数值过大,递归会崩溃 阅读全文
posted @ 2016-12-24 19:28 chy89224 阅读(67) 评论(0) 推荐(0) 编辑