icc.cpp: In function 'void join(int, int)':
icc.cpp:17:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0 ; j < linked[u].size() ; j++) linked[v].push_back(linked[u][j]);
~~^~~~~~~~~~~~~~~~~~
icc.cpp: In function 'bool get(std::vector<int>, std::vector<int>)':
icc.cpp:23:44: error: cannot convert 'std::vector<int>' to 'int*' for argument '3' to 'int query(int, int, int*, int*)'
bool w = query(l.size() , r.size() , l , r);
^
icc.cpp:26:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < l.size() ; i++){
~~^~~~~~~~~~
icc.cpp:28:8: error: 'class std::vector<int>' has no member named 'pb'
ll.pb(l[i]);
^~
icc.cpp:30:55: error: 'class std::vector<int>' has no member named 'pb'
else if(rr.size() && fd(rr.back()) == fd(l[i])) rr.pb(l[i]);
^~
icc.cpp:32:34: error: 'class std::vector<int>' has no member named 'pb'
if(ll.size() < rr.size()) ll.pb(l[i]);
^~
icc.cpp:33:13: error: 'class std::vector<int>' has no member named 'pb'
else rr.pb(l[i]);
^~
icc.cpp:39:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < r.size() ; i++){
~~^~~~~~~~~~
icc.cpp:41:9: error: 'class std::vector<int>' has no member named 'pb'
lr.pb(r[i]);
^~
icc.cpp:43:56: error: 'class std::vector<int>' has no member named 'pb'
else if(rl.size() && fd(r[i]) == fd(rl.back())) rl.pb(r[i]);
^~
icc.cpp:45:35: error: 'class std::vector<int>' has no member named 'pb'
if(lr.size() < rr.size()) lr.pb(r[i]);
^~
icc.cpp:46:14: error: 'class std::vector<int>' has no member named 'pb'
else rl.pb(r[i]);
^~
icc.cpp:59:40: error: 'class std::vector<int>' has no member named 'pb'
for(int j = 0 ; j <= mid ; j++) opt.pb(l[j]);
^~
icc.cpp:60:49: error: cannot convert 'std::vector<int>' to 'int*' for argument '3' to 'int query(int, int, int*, int*)'
bool q = query(opt.size() , r.size() , opt, r);
^
icc.cpp:72:39: error: 'class std::vector<int>' has no member named 'pb'
for(int j = 0 ; j <= mid; j++) opt.pb(r[j]);
^~
icc.cpp:73:50: error: cannot convert 'std::vector<int>' to 'int*' for argument '3' to 'int query(int, int, int*, int*)'
bool q = query(opt.size() , l.size() , opt, l);
^
icc.cpp: In function 'void run(int)':
icc.cpp:88:68: error: 'class std::vector<int>' has no member named 'pb'
for(int i = 0 ; i <= n; i++) pai[i] = i , peso[i] = 0 , linked[i].pb(i);
^~
icc.cpp:96:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int w = 0 ; w < linked[fd(j)].size() ; w++){
~~^~~~~~~~~~~~~~~~~~~~~~
icc.cpp:97:8: error: 'class std::vector<int>' has no member named 'pb'
l.pb(linked[fd(j)][w]);
^~
icc.cpp:102:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int w = 0 ; w < linked[fd(j)].size(); w++){
~~^~~~~~~~~~~~~~~~~~~~~~
icc.cpp:103:8: error: 'class std::vector<int>' has no member named 'pb'
r.pb(linked[fd(j)][w]);
^~