0_0_25005114_4398.cpp: In function 'int main()':
0_0_25005114_4398.cpp:44:54: error: cannot convert '__gnu_cxx::__normal_iterator<int*, std::vector<int> >' to 'int' in initialization
int posr = upper_bound(G[i].begin(),G[i].end(),r);
^
0_0_25005114_4398.cpp:45:54: error: cannot convert '__gnu_cxx::__normal_iterator<int*, std::vector<int> >' to 'int' in initialization
int posl = lower_bound(G[i].begin(),G[i].end(),l)
^
0_0_25005114_4398.cpp:46:6: error: expected ',' or ';' before 'int'
int pos = posr - posl;
^
0_0_25005114_4398.cpp:47:9: error: 'pos' was not declared in this scope
if(pos<cnt){
^
0_0_25005114_4398.cpp:53:53: error: cannot convert '__gnu_cxx::__normal_iterator<int*, std::vector<int> >' to 'int' in initialization
int posr = upper_bound(G[p].begin(),G[p].end(),r);
^
0_0_25005114_4398.cpp:54:53: error: cannot convert '__gnu_cxx::__normal_iterator<int*, std::vector<int> >' to 'int' in initialization
int posl = lower_bound(G[p].begin(),G[p].end(),l)
^
0_0_25005114_4398.cpp:55:5: error: expected ',' or ';' before 'int'
int pos = posr - posl;
^
0_0_25005114_4398.cpp:56:9: error: 'pos' was not declared in this scope
if(!pos){
^
|