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

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

于 2022-01-26 发布 文件大小:1.33 kB
0 49
下载积分: 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 个回复

  • sparse_coding_for_classification
    简单的sparse coding的小程序,基本可以了解sparse coding的工作过程。(Simple sparse coding small procedures, the basic can understand the working process of sparse coding.)
    2014-10-27 22:24:21下载
    积分:1
  • 1
    说明:  这是一个用c++实现的程序,功能:熟悉Mallat 算法、Daubechies 小波的构造、样条小波的性质(err)
    2008-06-17 18:16:21下载
    积分:1
  • wk2114
    cai yong 一个串口拓展成4个串口!(1 uart to 4)
    2020-09-08 09:58:02下载
    积分:1
  • timer
    说明:  输出12路死区互补同步中间对齐PWM的定时器配置(Timer Configuration of 12-way Complementary Dead Zone Synchronized Intermediate Alignment PWM)
    2020-06-25 13:40:02下载
    积分:1
  • C-W
    旅行商算法 节约算法解决旅行商问题,可运行程序(c-w finish vrp PROBELM quick ,help c++ system)
    2012-04-28 11:54:35下载
    积分:1
  • CCPUTemp
    通过EC获取CPU的运行温度,对CPU的运行温度进行实时监控,超过会自动报错,并可以设置监控时间(read CPU s temperture by EC)
    2020-07-20 21:38:45下载
    积分:1
  • GPRS-MG323
    用STM32F101或者STM32F103单片机,对华为GPRS模块MG323或其他兼容模块进行设置,实现远程数据的传送,源码经过测试可行,用户应将 IP:PORT 填完整(Use STM32F101 or STM32F103 microcontroller, huawei GPRS module MG323 or other compatible module Settings, realize remote data transmission, source tested feasible, users should be fill full IP: PORT )
    2014-11-08 13:34:23下载
    积分:1
  • Huffman编码压缩_压缩
    利用C++实现文件压缩,采用Huffman编码方法来实现压缩功能这是压缩的压缩文件,经多次调试,保证可以成功运行采用了C++进行编辑,对于刚接触程序设计语言的人有很大帮助
    2022-03-20 09:30:13下载
    积分:1
  • picture_to_eps
    pic_eps.bat 批处理文件 可以很方便的将任意格式的图片转为eps格式(pic_eps.bat batch file can easily be converted to any format image eps format)
    2013-07-15 19:34:41下载
    积分:1
  • spi_hello
    SPI接口测试程序,Xilinx参考设计,ML507硬件测试通过.(SPI interface test code,Xilinx reference design,tested on ML507 platform.)
    2013-09-01 09:37:04下载
    积分:1
  • 696532资源总数
  • 103574会员总数
  • 133今日下载