为什么二分查找防止溢出要写成middle=left+((right-left)/2而不是直接写middle=(left+right )/2 虽然结果都一样?
left+right可能会溢出,right-left比较安全