Main.cpp: In function 'int main()':
Main.cpp:10:23: warning: unnecessary parentheses in declaration of 'n' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
Main.cpp:22:5: note: in expansion of macro 'get'
22 | get(n);
| ^~~
Main.cpp:10:23: warning: unnecessary parentheses in declaration of 'q' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
Main.cpp:23:5: note: in expansion of macro 'get'
23 | get(q);
| ^~~
Main.cpp:12:40: warning: unnecessary parentheses in declaration of 'pos' [-Wparentheses]
12 | #define getList(cnt, name) vector<int> (name); for (int _=0;_<(cnt);_++) { get(a); (name).push_back(a); }
| ^
Main.cpp:24:5: note: in expansion of macro 'getList'
24 | getList(n, pos);
| ^~~~~~~
Main.cpp:10:23: warning: unnecessary parentheses in declaration of 'a' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
Main.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); }
| ^~~
Main.cpp:24:5: note: in expansion of macro 'getList'
24 | getList(n, pos);
| ^~~~~~~
Main.cpp:12:40: warning: unnecessary parentheses in declaration of 'days' [-Wparentheses]
12 | #define getList(cnt, name) vector<int> (name); for (int _=0;_<(cnt);_++) { get(a); (name).push_back(a); }
| ^
Main.cpp:25:5: note: in expansion of macro 'getList'
25 | getList(q, days);
| ^~~~~~~
Main.cpp:10:23: warning: unnecessary parentheses in declaration of 'a' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
Main.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); }
| ^~~
Main.cpp:25:5: note: in expansion of macro 'getList'
25 | getList(q, days);
| ^~~~~~~
Main.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
Main.cpp:28:5: note: in expansion of macro 'forto'
28 | forto(q, i) {
| ^~~~~
Main.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
Main.cpp:38:5: note: in expansion of macro 'forto'
38 | forto(n, i) pos[i] += 1e12;
| ^~~~~
Main.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
Main.cpp:39:5: note: in expansion of macro 'forto'
39 | forto(n, i) {
| ^~~~~