文件名称:mp
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:868byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
/*冒泡排序-----从大到小
*前一个和后一个两两比较,若小于则交换,直到最后一个元素,即小的冒泡,大的下沉
*每一循环都会从待排序的数中找出一个最小值,排到这组数据的最末端或首段,即冒泡
*对于n个数冒泡排序的最大趟数是n - 1,每一趟排序都会在这组待排序的数中产生一个最小值,
*/-/* Bubble sort----- from largest to smallest* before and after a twenty-two, if less than the exchange until the last element that bubbling large sink* each cycle will find a minimum from the number to be sorted and routed to the very end of this set of data or the first paragraph, that bubbling* bubble sort n numbers trip number n- 1, and trips to the sort will be in generating a minimum of the number of this group to be sorted,* /
*前一个和后一个两两比较,若小于则交换,直到最后一个元素,即小的冒泡,大的下沉
*每一循环都会从待排序的数中找出一个最小值,排到这组数据的最末端或首段,即冒泡
*对于n个数冒泡排序的最大趟数是n - 1,每一趟排序都会在这组待排序的数中产生一个最小值,
*/-/* Bubble sort----- from largest to smallest* before and after a twenty-two, if less than the exchange until the last element that bubbling large sink* each cycle will find a minimum from the number to be sorted and routed to the very end of this set of data or the first paragraph, that bubbling* bubble sort n numbers trip number n- 1, and trips to the sort will be in generating a minimum of the number of this group to be sorted,* /
(系统自动生成,下载前可以参看下载内容)
下载文件列表
mp.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.