2021-10-22 用二分查找法查找数组中的数值
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define FALSE 0
#define TRUE 1
#define NO_INIT -858993460
#define ARRAY_NOT_INIT_OR_ONLY_ONE -1
#define ARRAY_NOT_FIND -2
#define ARRAY_FIND_OK 0
int find_binary(int a[], int le
原创
2021-10-22 23:53:24 ·
157 阅读 ·
0 评论