摘要: // 练习:使用二分查找,在一组有序元素中查找数据项// 形参是数组,实参是数组名 #include <stdio.h>#include <stdlib.h> const int N=5; int binarySearch(int x[], int n, int item); // 函数声明 int 阅读全文
posted @ 2019-12-17 18:15 kokodayo? 阅读(232) 评论(2) 推荐(0)