二分查找中求中值时要注意溢出

// BinarySearch.cpp : Defines the entry point for the console application. // #include "stdafx.h" int a[100]={0}; int BinarySearch(int left, int right, int num) { if (left <= right) { int mid =
相关文章
相关标签/搜索