登录
首页 » c++ » 排序C语言代码

排序C语言代码

于 2022-05-30 发布 文件大小:401.63 kB
0 84
下载积分: 2 下载次数: 1

代码说明:

将被排序的记录数组R[1..n]垂直排列,每个记录R看作是重量为R.key的气泡。根据轻气泡不能在重气泡之下的原则,从下往上扫描数组R:凡扫描到违反本原则的轻气泡,就使其向上"飘浮"。如此反复进行,直到最后任何两个气泡都是轻者在上,重者在下为止。

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

发表评论

0 个回复

  • ATK-HC05蓝牙串口模块
    说明:  ATK-HC05蓝牙串口模块的使用,实现蓝牙串口通信(Using ATK-HC05 Bluetooth Serial Port Module to Realize Bluetooth Serial Port Communication)
    2020-06-16 09:20:01下载
    积分:1
  • 用C#.NET实现删除指定文件
    用C#.NET实现删除指定文件
    2013-10-31下载
    积分:1
  • 程序
    该项目根据原理图设计制作一个带时间和温度显示的风扇+台灯,将时间温度,电机转速,led灯亮度显示在12864上(可设置分页显示,滚动显示等方式),多模式(自动模式,手动模式等),通过pwm转换调节灯的亮度,自动模式下通过A/D转换测量温度和光照强度并根据光照强度调节led灯的亮度根据温度和设定温度的温度差调整风扇的转速,通过独立键盘设置各模式下的参数(led亮度,风扇转速,时间等)(The project designs and manufactures a fan+desk lamp with time and temperature display, which displays time and temperature, motor speed and LED lamp brightness on 12864 (paging display, rolling display, etc.), multi-mode (automatic mode, manual mode, etc.), and adjusts lamp brightness and automatic mode through PWM conversion. The temperature and illumination intensity are measured by A/D conversion and the brightness of LED lamp is adjusted according to the temperature difference between temperature and setting temperature. The parameters of each mode (led brightness, fan speed, time, etc.) are set by independent keyboard.)
    2020-06-25 17:20:02下载
    积分:1
  • libpangowin32-1.0-0
    yetretytryer ytryer5yetye rtyt4ye54
    2017-12-12 04:33:06下载
    积分:1
  • FFT程序
    这是利用C++ 编的fft(This is the C series fft)
    2021-03-09 17:19:27下载
    积分:1
  • 用C#写的国际象棋
    这是一个国际象棋变体的棋盘,主要有24个格,棋盘里包括部分: 初始棋盘,棋盘大小以及人机对打,这个棋盘是用C#实现的,以Unity作为平台编写
    2022-06-30 17:33:53下载
    积分:1
  • powell
    说明:  powell刚性图像配准,c++代码,通过查找非相关方向进行配准.(Polwell rigid image registration, c++ code, by looking for non-related directions for registration.)
    2020-06-16 10:20:01下载
    积分:1
  • 步进电机驱动程序(51单片机可编程电机驱动程序)
    步进电机驱动程序(51单片机可编程电机驱动程序)
    2020-05-27下载
    积分:1
  • 1
    说明:  二值目标图象质心的计算 二值目标图象质心的计算(Second, the value of the target image centroid calculation of the target binary image centroid calculation)
    2008-03-18 17:07:30下载
    积分:1
  • hw_types
    cortex-m0 LM3S1138例程,【04】硬件类型定义(hw_types)(cortex-m0 LM3S1138 routines [04] hardware type definition (hw_types))
    2011-07-03 20:08:35下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载