摘要: ex2.1.1 // 练习:使用二分查找,在一组有序元素中查找数据项 // 形参是数组,实参是数组名 #include <stdio.h> #include <stdlib.h> const int N=5; int binarySearch(int x[], int n, int item); / 阅读全文
posted @ 2019-12-16 23:45 千寻虚无 阅读(103) 评论(4) 推荐(0)