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

快速排序法C语言

于 2022-03-12 发布 文件大小:1.04 kB
0 45
下载积分: 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 个回复

  • Fundation-of-Matlab
    详细介绍了MATLAB的基础,并结合实例讲解了其应用(Details of the basis of MATLAB and explain with examples of its application)
    2013-09-10 12:23:29下载
    积分:1
  • ADS1282 STM32驱动代码
    基于STM32的C程序,用于ADS1282高精度采集(BASED on the STM32 ,USING FOR ADS1282)
    2018-03-12 21:04:46下载
    积分:1
  • zhionan
    OPCDA服务器与客户程序开发指南,作为工业控制领域的应用技术,OPC 服务器实际上涉及到的领域不仅仅是 COM 接口的实现,还包括如何将实时数据库技术融入 OPC 服务器等。对于本书而言,主要实现了 OPC 服务器的常用接口和 OPC 客户程序。(OPCDA server and client program development guide, as the field of industrial control applications technology, OPC server is actually related to the field just COM interface implementation, including how the real-time database technology into OPC server. For the purposes of this book, the main achievement of the commonly used interface of the OPC server and OPC client program.)
    2013-03-25 21:57:18下载
    积分:1
  • STM8L101手册详细
    STM8L101F3P技术手册,详细说明了STM8L10x系列单片机的技术参数,指导嵌入式开发员使用STM8L10x系列新品进行产品开发(STM8L101F3P data sheet)
    2018-05-16 11:50:30下载
    积分:1
  • C# 查找局域网IP地址 例子源码
    C# 查找局域网IP地址 例子源码
    2015-03-03下载
    积分:1
  • 我们大2时期做的多项式相加程序....应该还不错
    我们大2时期做的多项式相加程序....应该还不错-we do two times the sum of polynomial procedures should also true ....
    2022-01-22 12:39:20下载
    积分:1
  • android
    采用四元数算法,来确定飞行器的姿态状况,同时通过PID方法,调节飞行器的飞行姿态。(Quaternion algorithm to determine the status of the aircraft s attitude, but by PID method, adjusting aircraft flight attitude.)
    2014-01-09 17:56:23下载
    积分:1
  • winImageCompletion-master
    Implementations of image processing algorithms(This project can be built by Visual Studio 2012. Project description file included. Currently it is for Windows only.)
    2015-04-20 10:43:47下载
    积分:1
  • winform-Mail
    c#+winform+简单的发邮件程序,本人测试可以用的,供大家学习(c#+ winform+ simple e-mail program, I test can be used for all learning)
    2020-09-09 10:58:02下载
    积分:1
  • 8
    说明:  LCD控制器: 本实验得到的结果为,LCD显示屏会循环显示白、黑、蓝、红、绿和灰这六种颜色,并且显示“亿道电子技术”这些字符。 在flash调试时,需要修改RO BASE为0x00000000,其他不用修改,重新编译下载就可运行。 在sdram调试时,需要修改RO BASE为0xa0000000,其他不用修改,重新编译下载就可运行。 本实验还有一个要注意的地方,不要对RW BASE进行设置,否则LCD屏的字体就无法正常显示。(LCD controller: the results of this experiment, LCD display will cycle through white, black, blue, red, green and gray of the six colors, and show &quot 100 million electronic technology,&quot these characters. Debug in flash, you need to modify the RO BASE is 0x00000000, the other not modify, recompile download can run. Debugging in the sdram when the need to modify the RO BASE to 0xa0000000, others do not modify, recompile and download can be run. In this study, there is a place to note, not on the RW BASE set, or LCD screen fonts will not display properly.)
    2010-09-01 22:59:50下载
    积分:1
  • 696518资源总数
  • 104316会员总数
  • 17今日下载