文件名称:11
介绍说明--下载内容均来自于网络,请自行研究使用
任务:用程序实现插入法排序、起泡法、选择法、快速法、合并法排序;
输入的数据形式为任何一个正整数,大小不限。
输出的形式:数字大小逐个递增的数列。
要求给出多组不同元素个数的输入数据,并用列表打印出每种排序下的各趟排序结果。每个排序法结束时应打印出其元素比较的次数和交换的次数。此程序需将结果用列表打印,一定要将其打印结果排列好。
-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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
[5]SummaryInformation
0Table
Data
WordDocument
[5]DocumentSummaryInformation
0Table
Data
WordDocument
[5]DocumentSummaryInformation