foehn_phenomena.cpp: In function 'int main()':
foehn_phenomena.cpp:10:23: warning: unnecessary parentheses in declaration of 'n' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
foehn_phenomena.cpp:25:9: note: in expansion of macro 'get'
25 | get(n);
| ^~~
foehn_phenomena.cpp:10:23: warning: unnecessary parentheses in declaration of 'q' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
foehn_phenomena.cpp:26:9: note: in expansion of macro 'get'
26 | get(q);
| ^~~
foehn_phenomena.cpp:10:23: warning: unnecessary parentheses in declaration of 's' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
foehn_phenomena.cpp:27:9: note: in expansion of macro 'get'
27 | get(s);
| ^~~
foehn_phenomena.cpp:10:23: warning: unnecessary parentheses in declaration of 't' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
foehn_phenomena.cpp:28:9: note: in expansion of macro 'get'
28 | get(t);
| ^~~
foehn_phenomena.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
foehn_phenomena.cpp:30:9: note: in expansion of macro 'forto'
30 | forto(n + 1, i) {
| ^~~~~
foehn_phenomena.cpp:10:23: warning: unnecessary parentheses in declaration of 'x' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
foehn_phenomena.cpp:31:13: note: in expansion of macro 'get'
31 | get(x);
| ^~~
foehn_phenomena.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
foehn_phenomena.cpp:35:9: note: in expansion of macro 'forto'
35 | forto(n, i) delta.push_back(pos[i + 1] - pos[i]);
| ^~~~~
foehn_phenomena.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
foehn_phenomena.cpp:37:9: note: in expansion of macro 'forto'
37 | forto(n, i) {
| ^~~~~
foehn_phenomena.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
foehn_phenomena.cpp:41:9: note: in expansion of macro 'forto'
41 | forto(q, i) {
| ^~~~~
foehn_phenomena.cpp:10:23: warning: unnecessary parentheses in declaration of 'l' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
foehn_phenomena.cpp:42:13: note: in expansion of macro 'get'
42 | get(l);
| ^~~
foehn_phenomena.cpp:10:23: warning: unnecessary parentheses in declaration of 'r' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
foehn_phenomena.cpp:43:13: note: in expansion of macro 'get'
43 | get(r);
| ^~~
foehn_phenomena.cpp:10:23: warning: unnecessary parentheses in declaration of 'x' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
foehn_phenomena.cpp:46:13: note: in expansion of macro 'get'
46 | get(x);
| ^~~