问题描述: 设有100个数据元素,采用二分查找时,最大比较次数为: 分析: 元素要查找到 代码: #include <iostream> using namespace std; int main(){ int a[101]; for(