watching.cpp: In function 'int main()':
watching.cpp:10:23: warning: unnecessary parentheses in declaration of 'n' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
watching.cpp:23:5: note: in expansion of macro 'get'
23 | get(n);
| ^~~
watching.cpp:10:23: warning: unnecessary parentheses in declaration of 'p' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
watching.cpp:24:5: note: in expansion of macro 'get'
24 | get(p);
| ^~~
watching.cpp:10:23: warning: unnecessary parentheses in declaration of 'q' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
watching.cpp:25:5: note: in expansion of macro 'get'
25 | get(q);
| ^~~
watching.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); }
| ^
watching.cpp:26:5: note: in expansion of macro 'getList'
26 | getList(n, nums);
| ^~~~~~~
watching.cpp:10:23: warning: unnecessary parentheses in declaration of 'a' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
watching.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); }
| ^~~
watching.cpp:26:5: note: in expansion of macro 'getList'
26 | getList(n, nums);
| ^~~~~~~