lower_bound函数的用法
lower_bound会找出序列中第一个大于等于x的数upper_bound会找出序列中第一个大于x的数前提:序列是升序的lower_bound(a + 1, a + 1 + n, x);如果要在一个下降序列里寻找一个小于x的数呢?lower_bound(a + 1, a + 1 + n, x, greater <int> () );对一个下降序列aint p = lower_bound(a + 1, a + 1 + n, x, greater <int> () )