capital_city.cpp: In function 'int dfs(int, int, int)':
capital_city.cpp:15:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
| ^
capital_city.cpp:35:2: note: in expansion of macro 'rep'
35 | rep(i, e[n].size()){
| ^~~
capital_city.cpp: In function 'void DivideAndConquer(std::vector<int>)':
capital_city.cpp:15:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
| ^
capital_city.cpp:49:2: note: in expansion of macro 'rep'
49 | rep(i, v.size()){
| ^~~
capital_city.cpp:15:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
| ^
capital_city.cpp:55:2: note: in expansion of macro 'rep'
55 | rep(i, v.size()){
| ^~~
capital_city.cpp:63:20: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
63 | if(g[C[m]].size() != G[C[m]]) goto NEXT;
| ~~~~~~~~~~~~~~~^~~~~~~~~~
capital_city.cpp:15:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
| ^
capital_city.cpp:64:2: note: in expansion of macro 'rep'
64 | rep(i, g[C[m]].size()) que.push(g[C[m]][i]);
| ^~~
capital_city.cpp:75:22: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
75 | if(g[C[a]].size() != G[C[a]]) goto NEXT;
| ~~~~~~~~~~~~~~~^~~~~~~~~~
capital_city.cpp:15:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
| ^
capital_city.cpp:76:4: note: in expansion of macro 'rep'
76 | rep(i, g[C[a]].size()){
| ^~~
capital_city.cpp:15:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
| ^
capital_city.cpp:92:2: note: in expansion of macro 'rep'
92 | rep(i, v.size()){
| ^~~
capital_city.cpp:15:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
15 | #define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
| ^
capital_city.cpp:102:4: note: in expansion of macro 'rep'
102 | rep(j, e[n].size()){
| ^~~
capital_city.cpp: In function 'int main()':
capital_city.cpp:15:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
| ^
capital_city.cpp:113:2: note: in expansion of macro 'rep'
113 | rep(i, N-1){
| ^~~
capital_city.cpp:15:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
| ^
capital_city.cpp:118:2: note: in expansion of macro 'rep'
118 | rep(i, N){
| ^~~
capital_city.cpp:15:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
| ^
capital_city.cpp:124:2: note: in expansion of macro 'rep'
124 | rep(i, N) v.pb(i);
| ^~~
capital_city.cpp:112:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
112 | scanf("%d%d", &N, &K);
| ~~~~~^~~~~~~~~~~~~~~~
capital_city.cpp:114:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
114 | int A, B; scanf("%d%d", &A, &B); A--; B--;
| ~~~~~^~~~~~~~~~~~~~~~
capital_city.cpp:119:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
119 | scanf("%d", C+i); C[i]--;
| ~~~~~^~~~~~~~~~~