long_mansion.cpp: In function 'void dfs(int)':
long_mansion.cpp:56:20: warning: statement has no effect [-Wunused-value]
56 | #define debug(...) 42
| ^~
long_mansion.cpp:93:3: note: in expansion of macro 'debug'
93 | debug(u);
| ^~~~~
long_mansion.cpp:56:20: warning: statement has no effect [-Wunused-value]
56 | #define debug(...) 42
| ^~
long_mansion.cpp:97:5: note: in expansion of macro 'debug'
97 | debug("ho");
| ^~~~~
long_mansion.cpp:56:20: warning: statement has no effect [-Wunused-value]
56 | #define debug(...) 42
| ^~
long_mansion.cpp:101:7: note: in expansion of macro 'debug'
101 | debug(r);
| ^~~~~
long_mansion.cpp:56:20: warning: statement has no effect [-Wunused-value]
56 | #define debug(...) 42
| ^~
long_mansion.cpp:118:7: note: in expansion of macro 'debug'
118 | debug(r);
| ^~~~~
long_mansion.cpp: In function 'int main(int, const char**)':
long_mansion.cpp:56:20: warning: statement has no effect [-Wunused-value]
56 | #define debug(...) 42
| ^~
long_mansion.cpp:162:5: note: in expansion of macro 'debug'
162 | debug(ra[find(i)]);
| ^~~~~
long_mansion.cpp:145:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
145 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
long_mansion.cpp:147:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
147 | scanf("%d", &C[i]);
| ~~~~~^~~~~~~~~~~~~
long_mansion.cpp:152:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
152 | int B; scanf("%d", &B);
| ~~~~~^~~~~~~~~~
long_mansion.cpp:154:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
154 | int x; scanf("%d", &x);
| ~~~~~^~~~~~~~~~
long_mansion.cpp:164:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
164 | int q; scanf("%d", &q);
| ~~~~~^~~~~~~~~~
long_mansion.cpp:167:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
167 | scanf("%d %d", &x, &y);
| ~~~~~^~~~~~~~~~~~~~~~~