0_0_25153210_18725.cpp: In function 'int main()':
0_0_25153210_18725.cpp:29:18: error: 'upper_bound' is not a member of 'std'
ans = ans && std::upper_bound(appear[i].begin(), appear[i].end(), r) - std::lower_bound(appear[i].begin(), appear[i].end(), l) >= cnt;
^
0_0_25153210_18725.cpp:31:27: error: 'upper_bound' is not a member of 'std'
if(d > 1) ans = ans && std::upper_bound(appear[d].begin(), appear[d].end(), r) - std::lower_bound(appear[d].begin(), appear[d].end(), l) > 0;
^
|