文件名称:11
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:9kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
任务:用程序实现插入法排序、起泡法、选择法、快速法、合并法排序;
输入的数据形式为任何一个正整数,大小不限。
输出的形式:数字大小逐个递增的数列。
要求给出多组不同元素个数的输入数据,并用列表打印出每种排序下的各趟排序结果。每个排序法结束时应打印出其元素比较的次数和交换的次数。此程序需将结果用列表打印,一定要将其打印结果排列好。
-Tasks: A Program for insertion sort, bubble method, selection method, rapid method, combined method sort input data form any positive integer, the size limitation. Output in the form of: the size of one by increasing the number series. Required to give the number of sets of different elements in the input data and print out a list of every sort with the various times under the sort results. The end of each sorting method should print out the number of its elements and compare the frequency of exchange. This process will take the results with a list of print, be sure to print the results of its good arrangement.
输入的数据形式为任何一个正整数,大小不限。
输出的形式:数字大小逐个递增的数列。
要求给出多组不同元素个数的输入数据,并用列表打印出每种排序下的各趟排序结果。每个排序法结束时应打印出其元素比较的次数和交换的次数。此程序需将结果用列表打印,一定要将其打印结果排列好。
-Tasks: A Program for insertion sort, bubble method, selection method, rapid method, combined method sort input data form any positive integer, the size limitation. Output in the form of: the size of one by increasing the number series. Required to give the number of sets of different elements in the input data and print out a list of every sort with the various times under the sort results. The end of each sorting method should print out the number of its elements and compare the frequency of exchange. This process will take the results with a list of print, be sure to print the results of its good arrangement.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.