文件名称:paixu
-
所属分类:
- 标签属性:
- 上传时间:2013-06-14
-
文件大小:2kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
利用随机函数产生N个随机整数(20000以上),对这些数进行多种方法进行排序。
(1)至少采用三种方法(希尔排序、快速排序、堆排序)实现上述问题求解;
(2)统计每一种排序方法的性能(以上机运行程序所花费的时间为准进行对比),找出其中两种较快的方法;
(3)统计每种算法所用的比较次数和交换次数,最后列表显示;
-Using the random function random integers N (20,000 or more), the number of these various methods for sorting. (A) at least three methods (Hill sort, quick sort, heap sort) to achieve the above-mentioned problem solving (2) statistical performance of each sort method (above machine running the program based on the time it takes to compare), identify two of the faster method (3) statistical comparison of each algorithm used in the frequency and the number of exchanges, the final list display
(1)至少采用三种方法(希尔排序、快速排序、堆排序)实现上述问题求解;
(2)统计每一种排序方法的性能(以上机运行程序所花费的时间为准进行对比),找出其中两种较快的方法;
(3)统计每种算法所用的比较次数和交换次数,最后列表显示;
-Using the random function random integers N (20,000 or more), the number of these various methods for sorting. (A) at least three methods (Hill sort, quick sort, heap sort) to achieve the above-mentioned problem solving (2) statistical performance of each sort method (above machine running the program based on the time it takes to compare), identify two of the faster method (3) statistical comparison of each algorithm used in the frequency and the number of exchanges, the final list display
(系统自动生成,下载前可以参看下载内容)
下载文件列表
排序综合.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.