#include #include #include #include using namespace std;int main(){ vector v(5); bool found; v[1] = 7; v[2] = 7; v[3] = 7; v[4] = 8; vector::iterator k; k = lower_bound(v.begin(), v.end(), 7); cout << *k; return 0;} 7