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:22:5: note: in expansion of macro 'get'
22 | get(n);
| ^~~
magictree.cpp:10:23: warning: unnecessary parentheses in declaration of 'm' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
magictree.cpp:23:5: note: in expansion of macro 'get'
23 | get(m);
| ^~~
magictree.cpp:10:23: warning: unnecessary parentheses in declaration of 'k' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
magictree.cpp:24:5: note: in expansion of macro 'get'
24 | get(k);
| ^~~
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:25:5: note: in expansion of macro 'forto'
25 | 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:26:9: note: in expansion of macro 'get'
26 | 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:29:5: note: in expansion of macro 'forto'
29 | 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:30:9: note: in expansion of macro 'get'
30 | get(v);
| ^~~
magictree.cpp:10:23: warning: unnecessary parentheses in declaration of 'd' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
magictree.cpp:31:9: note: in expansion of macro 'get'
31 | get(d);
| ^~~
magictree.cpp:10:23: warning: unnecessary parentheses in declaration of 'w' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
magictree.cpp:32:9: note: in expansion of macro 'get'
32 | get(w);
| ^~~
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(n, 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:42:5: note: in expansion of macro 'forto'
42 | forto(L, 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:46:5: note: in expansion of macro 'forto'
46 | forto(m, i) {
| ^~~~~