icc.cpp: In function 'void uni(int, int)':
icc.cpp:28:10: warning: unused variable 'i' [-Wunused-variable]
28 | int a,b,i,j;
| ^
icc.cpp:28:12: warning: unused variable 'j' [-Wunused-variable]
28 | int a,b,i,j;
| ^
icc.cpp: In function 'pii operate(std::vector<int>&, std::vector<int>&)':
icc.cpp:6:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | #define fr(i,m,n) for(i=m;i<n;i++)
......
40 | fr(i,0,g.size()) a[i]=g[i];
| ~~~~~~~~~~~~
icc.cpp:40:2: note: in expansion of macro 'fr'
40 | fr(i,0,g.size()) a[i]=g[i];
| ^~
icc.cpp:6:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | #define fr(i,m,n) for(i=m;i<n;i++)
......
41 | fr(i,0,h.size()) b[i]=g[i];
| ~~~~~~~~~~~~
icc.cpp:41:2: note: in expansion of macro 'fr'
41 | fr(i,0,h.size()) b[i]=g[i];
| ^~
icc.cpp:43:6: error: 'query' was not declared in this scope
43 | if(!query(g.size(),a,h.size(),b)) return {0,0};
| ^~~~~
icc.cpp:47:6: error: 'query' was not declared in this scope
47 | if(query(g.size(),a,mid,b))
| ^~~~~
icc.cpp:61:6: error: 'query' was not declared in this scope
61 | if(query(mid,a,x,b))
| ^~~~~
icc.cpp:39:26: warning: unused variable 'j' [-Wunused-variable]
39 | int a[103],b[103],x,y,i,j;
| ^
icc.cpp: In function 'void run(int)':
icc.cpp:102:5: error: 'setRoad' was not declared in this scope
102 | setRoad(z.ft,z.ft)
| ^~~~~~~
icc.cpp:72:12: warning: unused variable 'a' [-Wunused-variable]
72 | int i,j,k,a,b,c,x,y;
| ^
icc.cpp:72:14: warning: unused variable 'b' [-Wunused-variable]
72 | int i,j,k,a,b,c,x,y;
| ^
icc.cpp:72:16: warning: unused variable 'c' [-Wunused-variable]
72 | int i,j,k,a,b,c,x,y;
| ^
icc.cpp:72:18: warning: unused variable 'x' [-Wunused-variable]
72 | int i,j,k,a,b,c,x,y;
| ^
icc.cpp:72:20: warning: unused variable 'y' [-Wunused-variable]
72 | int i,j,k,a,b,c,x,y;
| ^