joi2019_ho_t1.cpp: In function 'int main()':
joi2019_ho_t1.cpp:10:23: warning: unnecessary parentheses in declaration of 'h' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
joi2019_ho_t1.cpp:22:5: note: in expansion of macro 'get'
22 | get(h);
| ^~~
joi2019_ho_t1.cpp:10:23: warning: unnecessary parentheses in declaration of 'w' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
joi2019_ho_t1.cpp:23:5: note: in expansion of macro 'get'
23 | get(w);
| ^~~
joi2019_ho_t1.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_t1.cpp:26:5: note: in expansion of macro 'forto'
26 | forto(h, i) {
| ^~~~~
joi2019_ho_t1.cpp:15:35: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
joi2019_ho_t1.cpp:27:9: note: in expansion of macro 'forto'
27 | forto(w, j) {
| ^~~~~
joi2019_ho_t1.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_t1.cpp:37:5: note: in expansion of macro 'forto'
37 | forto(h, i) {
| ^~~~~
joi2019_ho_t1.cpp:15:35: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
joi2019_ho_t1.cpp:44:5: note: in expansion of macro 'forto'
44 | forto(w, j) {
| ^~~~~
joi2019_ho_t1.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_t1.cpp:51:5: note: in expansion of macro 'forto'
51 | forto(h, i) {
| ^~~~~
joi2019_ho_t1.cpp:15:35: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
joi2019_ho_t1.cpp:52:9: note: in expansion of macro 'forto'
52 | forto(w, j) {
| ^~~~~