wells.cpp: In function 'int main()':
wells.cpp:10:23: warning: unnecessary parentheses in declaration of 'n' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
wells.cpp:36:5: note: in expansion of macro 'get'
36 | get(n);
| ^~~
wells.cpp:10:23: warning: unnecessary parentheses in declaration of 'k' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
wells.cpp:37:5: note: in expansion of macro 'get'
37 | get(k);
| ^~~
wells.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
wells.cpp:39:5: note: in expansion of macro 'forto'
39 | forto(n - 1, i) {
| ^~~~~
wells.cpp:10:23: warning: unnecessary parentheses in declaration of 'a' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
wells.cpp:40:9: note: in expansion of macro 'get'
40 | get(a);
| ^~~
wells.cpp:10:23: warning: unnecessary parentheses in declaration of 'b' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
wells.cpp:41:9: note: in expansion of macro 'get'
41 | get(b);
| ^~~
wells.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
wells.cpp:93:5: note: in expansion of macro 'forto'
93 | forto(m, i) {
| ^~~~~
wells.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
wells.cpp:102:5: note: in expansion of macro 'forto'
102 | forto(n, i) parent.push_back(i);
| ^~~~~
wells.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
wells.cpp:106:5: note: in expansion of macro 'forto'
106 | forto(n, i) {
| ^~~~~
wells.cpp:15:35: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
wells.cpp:108:9: note: in expansion of macro 'forto'
108 | forto(n, j) {
| ^~~~~
wells.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
wells.cpp:133:5: note: in expansion of macro 'forto'
133 | forto(n, i) {
| ^~~~~
wells.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
wells.cpp:137:5: note: in expansion of macro 'forto'
137 | forto(n, i) {
| ^~~~~
wells.cpp:15:35: warning: unnecessary parentheses in declaration of 'x' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
wells.cpp:152:17: note: in expansion of macro 'forto'
152 | forto(n, x) {
| ^~~~~
wells.cpp:15:35: warning: unnecessary parentheses in declaration of 'y' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
wells.cpp:153:21: note: in expansion of macro 'forto'
153 | forto(n, y) {
| ^~~~~