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 'bool subtask2()':
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:46:5: note: in expansion of macro '_foreq'
46 | _foreq(i, 2, n) yes &= (b[i] == b[i-1]);
| ^~~~~~
exam.cpp: In function 'bool subtask3()':
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:5: note: in expansion of macro '_foreq'
50 | _foreq(i, 2, n)
| ^~~~~~
exam.cpp: In function 'long long int solve2()':
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) 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:61:5: note: in expansion of macro '_foreq'
61 | _foreq(i, 1, n+1){
| ^~~~~~
exam.cpp: In function 'long long int solve3()':
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:87:5: note: in expansion of macro '_foreq'
87 | _foreq(i, 1, n){
| ^~~~~~
exam.cpp:18:33: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
18 | #define _foreq(a, b, c) for(int (a) = (b); (a) <= (c); (a)++)
| ^
exam.cpp:89:9: note: in expansion of macro '_foreq'
89 | _foreq(j, i, n){
| ^~~~~~
exam.cpp: In function 'void readInput()':
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:97:13: note: in expansion of macro '_foreq'
97 | 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:97:39: note: in expansion of macro '_foreq'
97 | cin>>n; _foreq(i, 1,n) cin>>a[i]; _foreq(i, 1, n) cin>>b[i];
| ^~~~~~