magictree.cpp: In function 'void dfs(long long int)':
magictree.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
magictree.cpp:33:9: note: in expansion of macro 'forto'
33 | forto(k, i) cur[i] += dp[con][i];
| ^~~~~
magictree.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
magictree.cpp:36:5: note: in expansion of macro 'forto'
36 | forto(k, i) {
| ^~~~~
magictree.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
magictree.cpp:39:5: note: in expansion of macro 'forto'
39 | forto(k, i) dp[v][i] = cur[i];
| ^~~~~
magictree.cpp: In function 'int main()':
magictree.cpp:10:23: warning: unnecessary parentheses in declaration of 'n' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
magictree.cpp:44:5: note: in expansion of macro 'get'
44 | get(n);
| ^~~
magictree.cpp:10:23: warning: unnecessary parentheses in declaration of 'm' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
magictree.cpp:45:5: note: in expansion of macro 'get'
45 | get(m);
| ^~~
magictree.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
magictree.cpp:51:5: note: in expansion of macro 'forto'
51 | forto(n - 1, i) {
| ^~~~~
magictree.cpp:10:23: warning: unnecessary parentheses in declaration of 'cur' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
magictree.cpp:52:9: note: in expansion of macro 'get'
52 | get(cur);
| ^~~
magictree.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
magictree.cpp:57:5: note: in expansion of macro 'forto'
57 | forto(m, i) {
| ^~~~~
magictree.cpp:10:23: warning: unnecessary parentheses in declaration of 'v' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
magictree.cpp:58:9: note: in expansion of macro 'get'
58 | get(v);
| ^~~
magictree.cpp:10:23: warning: unnecessary parentheses in declaration of 'd' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
magictree.cpp:59:9: note: in expansion of macro 'get'
59 | get(d);
| ^~~
magictree.cpp:10:23: warning: unnecessary parentheses in declaration of 'w' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
magictree.cpp:60:9: note: in expansion of macro 'get'
60 | get(w);
| ^~~