fountain.cpp: In function 'long long int queryStupid(long long int, long long int)':
fountain.cpp:18:33: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
18 | #define _foreq(a, b, c) for(int (a) = (b); (a) <= (c); (a)++)
| ^
fountain.cpp:38:5: note: in expansion of macro '_foreq'
38 | _foreq(j, R, n){
| ^~~~~~
fountain.cpp: In function 'bool secondSubtask()':
fountain.cpp:18:33: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
18 | #define _foreq(a, b, c) for(int (a) = (b); (a) <= (c); (a)++)
| ^
fountain.cpp:55:5: note: in expansion of macro '_foreq'
55 | _foreq(i, 1, n-1) if(d[i] >= d[i+1]) return false;
| ^~~~~~
fountain.cpp: In function 'int main()':
fountain.cpp:18:33: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
18 | #define _foreq(a, b, c) for(int (a) = (b); (a) <= (c); (a)++)
| ^
fountain.cpp:65:5: note: in expansion of macro '_foreq'
65 | _foreq(i, 1, n) cin>>d[i]>>c[i];
| ^~~~~~
fountain.cpp:17:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
17 | #define _for(a, b, c) for(int (a) = (b); (a) < (c); (a)++)
| ^
fountain.cpp:66:5: note: in expansion of macro '_for'
66 | _for(i, 0, q) cin>>r[i]>>v[i];
| ^~~~
fountain.cpp:18:33: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
18 | #define _foreq(a, b, c) for(int (a) = (b); (a) <= (c); (a)++)
| ^
fountain.cpp:68:9: note: in expansion of macro '_foreq'
68 | _foreq(i, 1, n) s[i] = s[i-1] + c[i];
| ^~~~~~
fountain.cpp:17:31: warning: unnecessary parentheses in declaration of 'g' [-Wparentheses]
17 | #define _for(a, b, c) for(int (a) = (b); (a) < (c); (a)++)
| ^
fountain.cpp:70:9: note: in expansion of macro '_for'
70 | _for(g, 0, q) cout<<querySecond(r[g], v[g])<<'\n';
| ^~~~
fountain.cpp:17:31: warning: unnecessary parentheses in declaration of 'g' [-Wparentheses]
17 | #define _for(a, b, c) for(int (a) = (b); (a) < (c); (a)++)
| ^
fountain.cpp:72:10: note: in expansion of macro '_for'
72 | else _for(g, 0, q) cout<<queryStupid(r[g], v[g])<<'\n';
| ^~~~