#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#define TRUE 1
#define FALSE 0
#define OK 1
#define ERROR 0
#define INFEASIBLE -1
#define OVERFLOW -2
#define LIST_INIT_SIZE 100 //存储空间的初始分配量
#define EQ(a,b) ((a) == (b))
#define LT(a,b) ((a) < (b))
#define LQ(a,b) ((a) <= (b))
typedef int Status;
typedef int KeyType;
typedef struct
{
KeyType key;
int weight;
}ElemType;
typedef struct
{
【数据结构】算法9.2 有序表查找-折半查找
最新推荐文章于 2021-11-27 11:24:30 发布
![](https://img-home.csdnimg.cn/images/20240611030827.png)