0_0_15133684_12139.cpp: In function 'int main()': 0_0_15133684_12139.cpp:27:84: error: 'upper_bound' was not declared in this scope printf("%ld\n",distance(sr.begin(), upper_bound(sr.begin(), sr.end(), h))); ^