0_0_14095527_16256.cpp: In function 'int main()': 0_0_14095527_16256.cpp:67:62: error: 'upper_bound' was not declared in this scope ttt=upper_bound(a[tp].begin(),a[tp].end(),mid)-a[tp].begin(); ^