登录
首页 » c » 快速排序法C语言

快速排序法C语言

于 2022-03-12 发布 文件大小:1.04 kB
0 122
下载积分: 2 下载次数: 1

代码说明:

#include #define N 1024 int binarysearch(int *a,int n,int k) {   int left=0,right=n,i=0,middle;   while(lefta[middle])         left=middle+1;      else right=middle-1;   } return i; } void main() {  int n,i,a[N],k,l;      printf("请输入要比较元素个数:");      scanf("%d",&n);      printf(" ");      printf("按升序输入原始元素: ");     for(i=0;i

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

发表评论

0 个回复

  • VMware_Vxworks
    VMware平台的使用和Vxworks开发环境的建立(VMware platform development environment for the use and establishment of Vxworks)
    2010-06-06 22:42:53下载
    积分:1
  • gauss
    说明:  用c产生一个高斯噪声 用了中值定理的内容(To generate a Gaussian noise with c With the contents of the mean value theorem)
    2010-03-24 09:44:31下载
    积分:1
  • YuvField
    说明:  从YUV420文件中抽出奇偶场保存为YUV文件,对开发Deinterlace等算法很有用(YUV420 extract from the document saved as YUV parity field documents, such as deinterlace on the development of useful algorithms)
    2008-11-21 10:37:42下载
    积分:1
  • Windows_shell
    Window Shell扩展编程编程的相关例子,想学shell编程的朋友有福了!(Window Shell-programming related to the expansion of programming examples, want to learn shell programming blessed Friend!)
    2007-10-24 15:23:50下载
    积分:1
  • CPP-Coding-Standards---101-Rules--Guidelines--And
    One of the most useful books for C++ developer
    2014-10-24 15:16:32下载
    积分:1
  • 利用Oracle中的ODP.NET进行空间数据库的开发,编程语言为C#。解决了一些我们平时应用程序开发中不能解决的关于类型等方面的问题...
    利用Oracle中的ODP.NET进行空间数据库的开发,编程语言为C#。解决了一些我们平时应用程序开发中不能解决的关于类型等方面的问题-Using Oracle s ODP.NET for spatial database development, programming language is C#. To solve some of our application development usually can not be solved on the type of issues
    2022-04-10 15:44:43下载
    积分:1
  • sPCK
    完美世界游戏客户端pck解包打包工具,同时支持cup更新包解包。(Perfect world game client PCK unpack packaging tools, at the same time support CPU update package. )
    2013-10-24 15:03:00下载
    积分:1
  • 30
    说明:  30章51单片机入门教程,让你轻松学会单片机,不用老师,自学也能学会(30 Chapter 51 MCU introductory tutorial, allow you to easily learn the microcontroller without the teacher, can learn to self-)
    2012-12-06 21:23:50下载
    积分:1
  • ModBus RTU 从端实现
    实现通过RTU方式,从主端接收并显示数据,有显示的数据模板
    2022-04-11 19:59:55下载
    积分:1
  • 13-03-23
    基于at89c51单片机的超声波测距,红外测距。lcd显示。(At89c51 microcontroller based ultrasonic ranging, infrared distance. lcd display.)
    2013-12-07 11:51:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载