摘要: 一、实验结论: 1. 二分查找: 补足程序ex1_1.cpp 补足程序ex1_1.cpp // 练习:使用二分查找,在一组有序元素中查找数据项 // 形参是数组,实参是数组名 #include <stdio.h> const int N=5; int binarySearch(int x[], in 阅读全文
posted @ 2019-05-26 14:08 夏尔何 阅读(143) 评论(2) 推荐(0) 编辑