登录
首页 » C# » 冒泡法是数据排序的一种基本算法,它的基本方法是:相邻两元素进行比较,如有需要则进行交换,每完成一次循环就将最小元素排在最后(如从大到小排序),下一次循环是将其他...

冒泡法是数据排序的一种基本算法,它的基本方法是:相邻两元素进行比较,如有需要则进行交换,每完成一次循环就将最小元素排在最后(如从大到小排序),下一次循环是将其他...

于 2022-01-26 发布 文件大小:1.33 kB
0 145
下载积分: 2 下载次数: 1

代码说明:

冒泡法是数据排序的一种基本算法,它的基本方法是:相邻两元素进行比较,如有需要则进行交换,每完成一次循环就将最小元素排在最后(如从大到小排序),下一次循环是将其他的数进行类似操作?如将N 个数按从大到小排序,Turbo C语言程序函数 -Bubble Act to sort the data is a basic algorithm, which is the basic method : two adjacent elements, if required for the exchange, each completed a minimum cycle will be the last element (for example, on average ranking), the next cycle is the number of other similar operations such as N on average number sequencing by, Turbo C Programming Language Functions

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • xuhanshu
    (1)掌握动态联编的概念; (2)掌握虚函数和纯虚函数的使用方法; (3)掌握抽象类的使用。 (this is a good passage for college student)
    2009-12-27 11:07:25下载
    积分:1
  • p2a11_2.0
    很好的获取捷联航姿参数的说明文件,具有指导意义(obtained SINS parameter)
    2015-03-11 11:35:11下载
    积分:1
  • using_tab_example_adv
    example of use of tab under cvi
    2009-10-15 05:25:46下载
    积分:1
  • DFT
    C++实现数字信号处理中的DFT算法,不是快速算法,是基础DFT算法(C++ implementation of digital signal processing DFT algorithm, not a fast algorithm is the basis of DFT algorithm)
    2014-10-25 20:08:01下载
    积分:1
  • GmailNotice
    这款应用程序检查你的gmail账户的任何新消息和通知你(The application checks any new messages in your Gmail account and inform you)
    2013-05-20 19:59:17下载
    积分:1
  • M16_LED1
    M16跑马灯试验,内容丰富,代码简单,信息量大(M16 Marquee test, content-rich, simple code, the large amount of information)
    2012-05-28 13:24:09下载
    积分:1
  • sort
    各种排序算法,下标都从1开始。sort_test.c是用来测试的。 void heap_sort(int *array,int size) void create_min_heap(int *array,int size) void adjust_min_heap(int *array,int start,int size) void bubble_sort(int *array,int size) void select_sort(int *array,int size) void quick_sort(int *array,int size) void unrec_quick_sort(int *array, int size) void insert_sort(int *array,int low,int high) int bucket_sort(int *array,int size,int max_value) int max_k_heap(int *array,int size,int k,int *k_array) int max_k_select(int *array,int size,int k,int *k_array) void find_max_min(int *array,int size,int *max,int *min) int find_max_k(int *array,int low,int high,int k) (Some sort functions."sort_test.c" is used to test. void heap_sort(int*array,int size) void create_min_heap(int*array,int size) void adjust_min_heap(int*array,int start,int size) void bubble_sort(int*array,int size) void select_sort(int*array,int size) void quick_sort(int*array,int size) void unrec_quick_sort(int*array, int size) void insert_sort(int*array,int low,int high) int bucket_sort(int*array,int size,int max_value) int max_k_heap(int*array,int size,int k,int*k_array) int max_k_select(int*array,int size,int k,int*k_array) void find_max_min(int*array,int size,int*max,int*min) int find_max_k(int*array,int low,int high,int k) )
    2013-08-30 22:05:58下载
    积分:1
  • BP_CPP
    合成孔径雷达成像程序,使用BP算法,对点目标进行仿真,实现点目标的成像(Synthetic aperture radar imaging procedures, the use of BP algorithm, the point target simulation to achieve point target imaging)
    2013-12-19 12:17:52下载
    积分:1
  • refactor
    序列匹配c++实现,可以帮助理解序列匹配算法(Sequence matching c++ implementation can help to understand the sequence matching algorithm)
    2014-02-15 20:38:24下载
    积分:1
  • 用于制作记事本
    比较实用及其对奇偶我局单位去哦哦我空间丰富了奖励李会计法材料送到家门口了我就买吃的欢乐空间登录时间才能开黑色短裤既熟悉爱据了解洒下来就撒了现金旅行就回老家了 
    2022-01-26 00:32:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载