kangaroo.cpp: In function 'int main()':
kangaroo.cpp:10:23: warning: unnecessary parentheses in declaration of 'n' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
kangaroo.cpp:24:5: note: in expansion of macro 'get'
24 | get(n);
| ^~~
kangaroo.cpp:10:23: warning: unnecessary parentheses in declaration of 'a' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
kangaroo.cpp:25:5: note: in expansion of macro 'get'
25 | get(a);
| ^~~
kangaroo.cpp:10:23: warning: unnecessary parentheses in declaration of 'b' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
kangaroo.cpp:26:5: note: in expansion of macro 'get'
26 | get(b);
| ^~~
kangaroo.cpp:15:35: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
kangaroo.cpp:39:9: note: in expansion of macro 'forto'
39 | forto(c, j) {
| ^~~~~
kangaroo.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
kangaroo.cpp:40:13: note: in expansion of macro 'forto'
40 | forto(c, i) {
| ^~~~~
kangaroo.cpp:15:35: warning: unnecessary parentheses in declaration of 'd' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
kangaroo.cpp:41:17: note: in expansion of macro 'forto'
41 | forto(2, d) {
| ^~~~~
kangaroo.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
kangaroo.cpp:47:9: note: in expansion of macro 'forto'
47 | forto(c + 1, i) {
| ^~~~~
kangaroo.cpp:15:35: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
kangaroo.cpp:48:13: note: in expansion of macro 'forto'
48 | forto(c + 1, j) {
| ^~~~~