文件名称:paixu
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:875.97kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
使用简单数组实现下面各种排序算法,并进行比较。
排序算法:
1、插入排序
2、希尔排序
3、冒泡排序
4、快速排序
5、简单选择排序
6、堆排序
7、归并排序
8、基数排序
要求:
1、测试数据分成三类:正序、逆序、随机数据
2、对于这三类数据,比较上述排序算法中关键字的比较次数和移动次数(其中关键字交换计为3次移动)。
3、对于这三类数据,比较上述排序算法中不同算法的执行时间,精确到微秒-Using a simple array to achieve the following variety of sorting algorithms, and compare. Sorting algorithms: insertion sort, shell sort, bubble sort 4, the quicksort 5, simple select 6 sort, heap sort, merge sort, radix sort requirements: one, the test data is divided into three categories: positive sequence , reverse, random data for these three types of data, compare the number of keywords in the comparison of the sorting algorithm and the number of moves (where the key exchange is counted as three times a mobile). 3, three types of data, different algorithms in the comparison of the sorting algorithm execution time, accurate to the microsecond
排序算法:
1、插入排序
2、希尔排序
3、冒泡排序
4、快速排序
5、简单选择排序
6、堆排序
7、归并排序
8、基数排序
要求:
1、测试数据分成三类:正序、逆序、随机数据
2、对于这三类数据,比较上述排序算法中关键字的比较次数和移动次数(其中关键字交换计为3次移动)。
3、对于这三类数据,比较上述排序算法中不同算法的执行时间,精确到微秒-Using a simple array to achieve the following variety of sorting algorithms, and compare. Sorting algorithms: insertion sort, shell sort, bubble sort 4, the quicksort 5, simple select 6 sort, heap sort, merge sort, radix sort requirements: one, the test data is divided into three categories: positive sequence , reverse, random data for these three types of data, compare the number of keywords in the comparison of the sorting algorithm and the number of moves (where the key exchange is counted as three times a mobile). 3, three types of data, different algorithms in the comparison of the sorting algorithm execution time, accurate to the microsecond
(系统自动生成,下载前可以参看下载内容)
下载文件列表
paixu/1.h
paixu/Debug/main.obj
paixu/Debug/paixu.exe
paixu/Debug/paixu.ilk
paixu/Debug/paixu.pch
paixu/Debug/paixu.pdb
paixu/Debug/vc60.idb
paixu/Debug/vc60.pdb
paixu/main.cpp
paixu/paixu.dsp
paixu/paixu.dsw
paixu/paixu.ncb
paixu/paixu.opt
paixu/paixu.plg
paixu/Debug
paixu
paixu/Debug/main.obj
paixu/Debug/paixu.exe
paixu/Debug/paixu.ilk
paixu/Debug/paixu.pch
paixu/Debug/paixu.pdb
paixu/Debug/vc60.idb
paixu/Debug/vc60.pdb
paixu/main.cpp
paixu/paixu.dsp
paixu/paixu.dsw
paixu/paixu.ncb
paixu/paixu.opt
paixu/paixu.plg
paixu/Debug
paixu
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.