摘要: STL标准库查找函数 find函数 二分查找,binary_search函数 目的:查找某元素是否存在于数组,存在返回1,不存在返回0. binary_search(arr[],arr[]+size,target) arr[]:数组首地址 size:数组元素个数 target:查找的元素 lower 阅读全文
posted @ 2020-11-09 20:40 晓尘 阅读(105) 评论(0) 推荐(0)