icc.cpp: In function 'int quer(int, int, std::vector<int>, std::vector<int>)':
icc.cpp:43:9: error: 'query' was not declared in this scope; did you mean 'quer'?
43 | return query(n, m, as1, as2);
| ^~~~~
| quer
icc.cpp: In function 'void run(int)':
icc.cpp:11:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
63 | FOR(0, j, i.size() / 2) fi.pb(i[j]);
| ~~~~~~~~~~~~~~~
icc.cpp:63:5: note: in expansion of macro 'FOR'
63 | FOR(0, j, i.size() / 2) fi.pb(i[j]);
| ^~~
icc.cpp:11:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
64 | FOR(i.size() / 2, j, i.size()) se.pb(i[j]);
| ~~~~~~~~~~~
icc.cpp:64:5: note: in expansion of macro 'FOR'
64 | FOR(i.size() / 2, j, i.size()) se.pb(i[j]);
| ^~~
icc.cpp:11:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
73 | FOR(0, j, i.size() / 2) V.pb(i[j]);
| ~~~~~~~~~~~~~~~
icc.cpp:73:6: note: in expansion of macro 'FOR'
73 | FOR(0, j, i.size() / 2) V.pb(i[j]);
| ^~~
icc.cpp:11:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
76 | FOR(i.size() / 2, j, i.size()) V.pb(i[j]);
| ~~~~~~~~~~~
icc.cpp:76:6: note: in expansion of macro 'FOR'
76 | FOR(i.size() / 2, j, i.size()) V.pb(i[j]);
| ^~~
icc.cpp:11:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
89 | FOR(0, i, sts.size() / 2)
| ~~~~~~~~~~~~~~~~~
icc.cpp:89:4: note: in expansion of macro 'FOR'
89 | FOR(0, i, sts.size() / 2)
| ^~~
icc.cpp:11:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
96 | FOR(0, j, i.size() / 2) fi.pb(i[j]);
| ~~~~~~~~~~~~~~~
icc.cpp:96:5: note: in expansion of macro 'FOR'
96 | FOR(0, j, i.size() / 2) fi.pb(i[j]);
| ^~~
icc.cpp:11:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
97 | FOR(i.size() / 2, j, i.size()) se.pb(i[j]);
| ~~~~~~~~~~~
icc.cpp:97:5: note: in expansion of macro 'FOR'
97 | FOR(i.size() / 2, j, i.size()) se.pb(i[j]);
| ^~~
icc.cpp:11:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
103 | FOR(sts.size() / 2, i, sts.size()) V.pb(sts[i]);
| ~~~~~~~~~~~~~
icc.cpp:103:5: note: in expansion of macro 'FOR'
103 | FOR(sts.size() / 2, i, sts.size()) V.pb(sts[i]);
| ^~~
icc.cpp:11:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
108 | FOR(0, i, sts[0].size() / 2)
| ~~~~~~~~~~~~~~~~~~~~
icc.cpp:108:3: note: in expansion of macro 'FOR'
108 | FOR(0, i, sts[0].size() / 2)
| ^~~
icc.cpp:11:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
112 | FOR(sts[0].size() / 2, i, sts[0].size())
| ~~~~~~~~~~~~~~~~
icc.cpp:112:3: note: in expansion of macro 'FOR'
112 | FOR(sts[0].size() / 2, i, sts[0].size())
| ^~~
icc.cpp:11:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
120 | FOR(0, i, fi.size() / 2)
| ~~~~~~~~~~~~~~~~
icc.cpp:120:4: note: in expansion of macro 'FOR'
120 | FOR(0, i, fi.size() / 2)
| ^~~
icc.cpp:11:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, j, n) for(int j = i; j < n; ++j)
......
128 | FOR(fi.size() / 2, i, fi.size())
| ~~~~~~~~~~~~
icc.cpp:128:5: note: in expansion of macro 'FOR'
128 | FOR(fi.size() / 2, i, fi.size())
| ^~~
icc.cpp:135:3: error: 'setRoad' was not declared in this scope
135 | setRoad(fi[0], se[0]);
| ^~~~~~~