exam.cpp: In function 'long long int pass(long long int, long long int)':
exam.cpp:18:33: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
18 | #define _foreq(a, b, c) for(int (a) = (b); (a) <= (c); (a)++)
| ^
exam.cpp:39:5: note: in expansion of macro '_foreq'
39 | _foreq(i, l, r) mx = max(mx, a[i]);
| ^~~~~~
exam.cpp:18:33: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
18 | #define _foreq(a, b, c) for(int (a) = (b); (a) <= (c); (a)++)
| ^
exam.cpp:41:5: note: in expansion of macro '_foreq'
41 | _foreq(i, l, r) ans += (mx == b[i]);
| ^~~~~~
exam.cpp: In function 'int main()':
exam.cpp:18:33: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
18 | #define _foreq(a, b, c) for(int (a) = (b); (a) <= (c); (a)++)
| ^
exam.cpp:50:13: note: in expansion of macro '_foreq'
50 | cin>>n; _foreq(i, 1,n) cin>>a[i]; _foreq(i, 1, n) cin>>b[i];
| ^~~~~~
exam.cpp:18:33: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
18 | #define _foreq(a, b, c) for(int (a) = (b); (a) <= (c); (a)++)
| ^
exam.cpp:50:39: note: in expansion of macro '_foreq'
50 | cin>>n; _foreq(i, 1,n) cin>>a[i]; _foreq(i, 1, n) cin>>b[i];
| ^~~~~~
exam.cpp:18:33: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
18 | #define _foreq(a, b, c) for(int (a) = (b); (a) <= (c); (a)++)
| ^
exam.cpp:53:5: note: in expansion of macro '_foreq'
53 | _foreq(i, 1, n) exists |= (a[i] == B);
| ^~~~~~
exam.cpp:18:33: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
18 | #define _foreq(a, b, c) for(int (a) = (b); (a) <= (c); (a)++)
| ^
exam.cpp:57:5: note: in expansion of macro '_foreq'
57 | _foreq(i, 1, n+1){
| ^~~~~~