登录
首页 » c » 二分法查找

二分法查找

于 2023-09-07 发布 文件大小:490.63 kB
0 134
下载积分: 2 下载次数: 1

代码说明:

复习之前所学,先将0~100的随机数组进行排序,然后采用二分法查找你想要的值,注意一定要排序!

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

发表评论

0 个回复

  • EMD-cPP
    说明:  EMD分解c语言描述,循环过程说明,大家可以参考 (C language to describe the EMD decomposition, cycle instructions,)
    2021-02-03 01:10:00下载
    积分:1
  • juzhenjianpan0-f
    基于51单片机开发板,矩阵键盘按键在数码管上显示0~F(Based on 51 MCU development board, matrix keyboard keys on the digital display 0 ~ F)
    2013-07-10 16:50:59下载
    积分:1
  • 9286927070903
    C sharp 编程,C sharp 串口示例化编程(C sharp)
    2016-05-12 09:03:44下载
    积分:1
  • PIC MCU BOOTLOADR
    PIC单片机串口在线编程代码,实用与PIC16系列
    2022-12-01 02:15:03下载
    积分:1
  • c++,显示图像
    IPicture接口对象的创建          方法1:直接通过文件创建 LPCSTR szFileUrl;  IPicture *pIPicture;  OleLoadPicturePath(CComBSTR(szFileUrl),    (LPUNKNOWN)NULL,    0,    0,    IID_IPicture,    (LPVOID*)&pIPicture))         方法2:通过IStream来创建  // 加载电子地图  LPCSTR szFileUrl;  IStream *pStream = NULL;  IPicture *pIPicture = NULL;;  CFileStatus fstatus;  CFile file;  LONG lFileSize;  HGLOBAL hGlobal;  if(file.Open(szFileUrl, CFile::modeRead) && file.GetStatus(szFileUrl, fstatus)   && ((lFileSize = fstatus.m_size) != -1))  {   hGlobal = GlobalAlloc(GMEM_MOVEABLE, lFileSize);// 开辟大内存   if(hGlobal != NULL)   {    LPVOID pvData = NULL; &nb
    2022-01-26 14:55:37下载
    积分:1
  • s5pv210_hardwear_all_in_onePacket
    内含基于s5pv210对nandFlash,lcd,rtc,timer,key,adc,pwm,iic,ac97等硬件模块裸机代码,全部裸机功能经过整合成小型裸机程序,具有图形化界面,可通过触摸屏图形界面切换和使用各个模块功能(Containing s5pv210 of nandFlash, LCD, RTC, timer, key, ADC, PWM, IIC and other hardware module bare metal code based on, all bare metal function after integration into small programs, with a graphical interface, through the 7 Inch Touch Screen graphical interface switching and the use of the function of each module)
    2016-07-16 12:30:55下载
    积分:1
  • 专家系统lll
    一个可以识别金钱豹、老虎、长颈鹿、斑马、鸵鸟、企鹅、信天翁等七种动物的简单专家系统(it is a simple expert system that can identify seven kinds of animals such as leopard,tiger,giraffe,zebra,ostrich, penguin and albatross)
    2005-06-09 19:10:12下载
    积分:1
  • 环境监测
    说明:  本次分享的是STM32集成了温湿度检测模块DHT11,光敏电阻,声音检测模块等,简单的一个环境监测系统,集成了OLED显示和蓝牙发送等功能,代码可能注释不全请见谅,有什么疑问可以留言给我。(This share is STM32 integrated temperature and humidity detection module DHT11, photosensitive resistance, sound detection module, a simple environmental monitoring system, integrated OLED display and Bluetooth transmission and other functions, the code may not be fully annotated, please forgive me if you have any questions.)
    2020-08-04 17:23:53下载
    积分:1
  • 制作简单的计算器 直线的扫描转换
    直线的扫描转换 制作简单的计算器
    2022-12-30 08:25:03下载
    积分:1
  • campbell_fsi
    openfoam基于simple的 FSI 计算,由campell(2011)基于OpenFoam开发(FSI problem based on OpenFOAM simpleFoam solver by Campell(2011))
    2014-08-21 19:50:43下载
    积分:1
  • 696516资源总数
  • 106648会员总数
  • 8今日下载