关于lower_bound的区间问题
int arr;int n=15;
lower_bound(arr,arr+n,5)
这里的lower_bound查找的范围是闭区间还是左闭右开区间呢? Returns an iterator pointing to the first element in the range which does not compare less than val.
是这个吗?左闭右开 claws0n 发表于 2018-8-25 11:46
Returns an iterator pointing to the first element in the range
谢谢了,我明白了
页:
[1]