icc.cpp: In function 'int q(std::vector<int>&, std::vector<int>&)':
icc.cpp:30:12: error: 'query' was not declared in this scope
return query(a.size(),b.size(),aa,bb);
^~~~~
icc.cpp: In function 'void road(int, int)':
icc.cpp:49:5: error: 'setRoad' was not declared in this scope
setRoad(min(a,b),max(a,b));
^~~~~~~
icc.cpp: In function 'void merge(int, int)':
icc.cpp:56:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<color.size();i++){
~^~~~~~~~~~~~~
icc.cpp: In function 'void binarysearch(std::vector<int>, std::vector<int>)':
icc.cpp:80:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<(left.size()+1)/2;i++){
~^~~~~~~~~~~~~~~~~~
icc.cpp:84:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=(left.size()+1)/2;i<left.size();i++){
~^~~~~~~~~~~~
icc.cpp:97:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<(left.size()+1)/2;i++){
~^~~~~~~~~~~~~~~~~~
icc.cpp:101:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=(left.size()+1)/2;i<left.size();i++){
~^~~~~~~~~~~~
icc.cpp: In function 'int rec(std::vector<int>)':
icc.cpp:117:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<(a.size()+1)/2;i++){
~^~~~~~~~~~~~~~~
icc.cpp:120:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=(a.size()+1)/2;i<a.size();i++){
~^~~~~~~~~
icc.cpp: In function 'void run(int)':
icc.cpp:143:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<color.size();i++){
~^~~~~~~~~~~~~