登录
首页 » Windows开发 » 排序程序冒泡排序、 unsort、 部分排序

排序程序冒泡排序、 unsort、 部分排序

于 2022-07-02 发布 文件大小:1.80 kB
0 105
下载积分: 2 下载次数: 1

代码说明:

#define PARTIALLYSORTED_30 3 #define PARTIALLYSORTED_50 4 #define PARTIALLYSORTED_70 5 #define RANDOMIZE_QSORT 1 #define MERGE_SORT 2 #define SELECTION_SORT 3 #define BUBBLE_SORT 4 / *---随机化快速排序---* / int random_partition (int * arr、 int 开始,int 结束) ; void random_quick_sort (int * arr、 int 开始,int 结束) ; /*----------------------------------------------*/ /*-----------Merge Sort--------------------------*/ 空的分区 (int arr [],int 低,int 高) ; void 归并 (int arr [],int 低,年年高 int int) ; /*------------------------------------------------*/ / *---选择排序---* / void sort_select (int n) ; int; maxind(int m) void swap1 (int * x int * y); /*------------------------------------------------*/ /*-----------------Bubble sort--------------------*/ void recursive_bubble (int * 数组、 int 的大小) ; /*-----------------------------

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

发表评论

0 个回复

  • EJB-JPA 项目
    该项目包含在一个所有的四个项目。 第一次是具有约束力,其他的三个角色的耳朵组件的组件。它具有约束力的所有资源,以便有一个逻辑意思。 其他组件是服务器和客户端。 服务器端组件包含 EJB 模块: EJB 和 EJB 客户端。EJB 引用了的 EJB 客户端在其生成路径。 EJB 服务器中包含的连接到数据库,使用 JPA-Java 持久性 API 创建的。我也用 MySQL。 EJB 客户端包含由从 EJB 服务器的类实现的接口。 最后一个组件是包含创建 JSF 页的 Web 应用程序。
    2022-04-20 20:34:49下载
    积分:1
  • 串口通信的MFC实现
    串口通信的MFC实现,利用MFC的控件实现,可通过串口收发数据
    2023-03-25 14:50:10下载
    积分:1
  • 文件压缩源码
    我这个源码里面采用了哈弗曼树编写了文件压缩,里面也有相应的注释,代码比较灵活。这个文件压缩,如果大家用太少的字量测试,文件会有反而增大了的可能性,适合用于大量压缩。目前只支持英文压缩。
    2022-07-02 08:38:52下载
    积分:1
  • 我的名字是yeomag11。wjhefdkhwioefioefjlskdjksdvjklmxc
    my name is yeomag11 .wjhefdkhwioefioefjlskdjksdvjklmxc
    2023-03-07 01:45:03下载
    积分:1
  • Foundation Profile 1.1 Reference Implementation(JSR
    Foundation Profile 1.1 Reference Implementation(JSR-219)
    2022-05-12 17:29:26下载
    积分:1
  • 我注意到有一段时间,在Windows XP中,当你使用浏览器删除..
    I ve noticed for a while that on Windows XP, when you use Explorer to delete a file or directory that is in use by another process, it takes what seems like an eternity before an error message appears telling you the file can t be deleted. During this time, there is no indication that Explorer even noticed the delete command. No hourglass, no nothing. By the time the message box appears, I ve already hit the delete key a few more times in a futile attempt to get Explorer to just do something, already. Either delete the file or tell me you can t...throw me a bone here.
    2022-01-31 01:32:56下载
    积分:1
  • labwindows软件采集stm32串口数据
    应用背景基于STM32实现姿态传感器数据采集。首先根据设计要求描绘姿态传感器采集测试系统框架;接着由指标设计硬件电路,并对测试系统的关键电路进行说明,描述MPU6050陀螺仪传感器的电路;而后利用keil软件设计了STM32底层驱动程序,使用labwindows虚拟平台编写上位机程序;最后在labwindows虚拟仪器软件中对MPU6050传感器进行测试和分析;通过多次对实验数据进行滤波比较,发现kalman滤波更有效消除传感器的误差。关键技术应用STM32采集姿态传感器数据。用labwindows搭建虚拟平台;在labwindows虚拟仪器软件中对stm32控制MPU6050;通过采集数据进行显示,用kalman滤波更有效消除传感器的误差。
    2022-05-30 13:25:10下载
    积分:1
  • A synchronization process to copy the lyrics to make it easier to not use the MP...
    一个同步复制歌词的程序,方便在使用MP3时不要在硬盘上到处找歌词-A synchronization process to copy the lyrics to make it easier to not use the MP3 on your hard drive around in search of the lyrics
    2022-04-20 06:17:20下载
    积分:1
  • 是一个项目查询系统
    是一个项目查询系统-is a project Inquiry System
    2023-06-29 20:30:02下载
    积分:1
  • classic VC data algorithm code several interesting algorithm, useful learning al...
    VC经典数据算法代码 几个有意思的算法,初学算法有益,经典,经典-classic VC data algorithm code several interesting algorithm, useful learning algorithm, classic, classic
    2022-12-30 12:45:08下载
    积分:1
  • 696518资源总数
  • 105531会员总数
  • 4今日下载