joi2019_ho_t2.cpp: In function 'int main()':
joi2019_ho_t2.cpp:10:23: warning: unnecessary parentheses in declaration of 'n' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
joi2019_ho_t2.cpp:22:5: note: in expansion of macro 'get'
22 | get(n);
| ^~~
joi2019_ho_t2.cpp:10:23: warning: unnecessary parentheses in declaration of 'm' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
joi2019_ho_t2.cpp:23:5: note: in expansion of macro 'get'
23 | get(m);
| ^~~
joi2019_ho_t2.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
joi2019_ho_t2.cpp:25:5: note: in expansion of macro 'forto'
25 | forto(n, i) {
| ^~~~~
joi2019_ho_t2.cpp:10:23: warning: unnecessary parentheses in declaration of 'c' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
joi2019_ho_t2.cpp:26:9: note: in expansion of macro 'get'
26 | get(c);
| ^~~
joi2019_ho_t2.cpp:10:23: warning: unnecessary parentheses in declaration of 'v' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
joi2019_ho_t2.cpp:27:9: note: in expansion of macro 'get'
27 | get(v);
| ^~~
joi2019_ho_t2.cpp:12:40: warning: unnecessary parentheses in declaration of 'frames' [-Wparentheses]
12 | #define getList(cnt, name) vector<int> (name); for (int _=0;_<(cnt);_++) { get(a); (name).push_back(a); }
| ^
joi2019_ho_t2.cpp:30:5: note: in expansion of macro 'getList'
30 | getList(m, frames);
| ^~~~~~~
joi2019_ho_t2.cpp:10:23: warning: unnecessary parentheses in declaration of 'a' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
joi2019_ho_t2.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); }
| ^~~
joi2019_ho_t2.cpp:30:5: note: in expansion of macro 'getList'
30 | getList(m, frames);
| ^~~~~~~