sculpture.cpp: In function 'int main()':
sculpture.cpp:10:23: warning: unnecessary parentheses in declaration of 'n' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
sculpture.cpp:23:5: note: in expansion of macro 'get'
23 | get(n);
| ^~~
sculpture.cpp:10:23: warning: unnecessary parentheses in declaration of 'A' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
sculpture.cpp:24:5: note: in expansion of macro 'get'
24 | get(A);
| ^~~
sculpture.cpp:10:23: warning: unnecessary parentheses in declaration of 'B' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
sculpture.cpp:25:5: note: in expansion of macro 'get'
25 | get(B);
| ^~~
sculpture.cpp:12:40: warning: unnecessary parentheses in declaration of 'nums' [-Wparentheses]
12 | #define getList(cnt, name) vector<int> (name); for (int _=0;_<(cnt);_++) { get(a); (name).push_back(a); }
| ^
sculpture.cpp:26:5: note: in expansion of macro 'getList'
26 | getList(n, nums);
| ^~~~~~~
sculpture.cpp:10:23: warning: unnecessary parentheses in declaration of 'a' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
sculpture.cpp:12:76: note: in expansion of macro 'get'
12 | #define getList(cnt, name) vector<int> (name); for (int _=0;_<(cnt);_++) { get(a); (name).push_back(a); }
| ^~~
sculpture.cpp:26:5: note: in expansion of macro 'getList'
26 | getList(n, nums);
| ^~~~~~~
sculpture.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
sculpture.cpp:39:9: note: in expansion of macro 'forto'
39 | forto(n, i) {
| ^~~~~
sculpture.cpp:15:35: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
sculpture.cpp:41:13: note: in expansion of macro 'forto'
41 | forto(n + 1, j) {
| ^~~~~