robots.cpp: In function 'int bzero(int, int, int, int*, int*, int*, int*)':
robots.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define f1r(i, a, b) for (int (i) = (a); (i) < (b); (i)++)
| ^
robots.cpp:5:19: note: in expansion of macro 'f1r'
5 | #define f0r(i, a) f1r(i, 0, a)
| ^~~
robots.cpp:22:14: note: in expansion of macro 'f0r'
22 | vi toys; f0r(i, T) toys.eb(X[i]);
| ^~~
robots.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define f1r(i, a, b) for (int (i) = (a); (i) < (b); (i)++)
| ^
robots.cpp:5:19: note: in expansion of macro 'f1r'
5 | #define f0r(i, a) f1r(i, 0, a)
| ^~~
robots.cpp:23:16: note: in expansion of macro 'f0r'
23 | vi robots; f0r(i, A) robots.eb(W[i]);
| ^~~
robots.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define f1r(i, a, b) for (int (i) = (a); (i) < (b); (i)++)
| ^
robots.cpp:5:19: note: in expansion of macro 'f1r'
5 | #define f0r(i, a) f1r(i, 0, a)
| ^~~
robots.cpp:27:5: note: in expansion of macro 'f0r'
27 | f0r(i, T) {
| ^~~
robots.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define f1r(i, a, b) for (int (i) = (a); (i) < (b); (i)++)
| ^
robots.cpp:30:5: note: in expansion of macro 'f1r'
30 | f1r(i, 1, A+T) pre[i] += pre[i-1];
| ^~~
robots.cpp: In lambda function:
robots.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define f1r(i, a, b) for (int (i) = (a); (i) < (b); (i)++)
| ^
robots.cpp:5:19: note: in expansion of macro 'f1r'
5 | #define f0r(i, a) f1r(i, 0, a)
| ^~~
robots.cpp:32:9: note: in expansion of macro 'f0r'
32 | f0r(i, A) {
| ^~~
robots.cpp: In function 'int putaway(int, int, int, int*, int*, int*, int*)':
robots.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define f1r(i, a, b) for (int (i) = (a); (i) < (b); (i)++)
| ^
robots.cpp:5:19: note: in expansion of macro 'f1r'
5 | #define f0r(i, a) f1r(i, 0, a)
| ^~~
robots.cpp:57:5: note: in expansion of macro 'f0r'
57 | f0r(i, A) W[i]--;
| ^~~
robots.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define f1r(i, a, b) for (int (i) = (a); (i) < (b); (i)++)
| ^
robots.cpp:5:19: note: in expansion of macro 'f1r'
5 | #define f0r(i, a) f1r(i, 0, a)
| ^~~
robots.cpp:58:5: note: in expansion of macro 'f0r'
58 | f0r(i, B) S[i]--;
| ^~~
robots.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define f1r(i, a, b) for (int (i) = (a); (i) < (b); (i)++)
| ^
robots.cpp:5:19: note: in expansion of macro 'f1r'
5 | #define f0r(i, a) f1r(i, 0, a)
| ^~~
robots.cpp:64:5: note: in expansion of macro 'f0r'
64 | f0r(i, T) tmp.insert(X[i]);
| ^~~
robots.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define f1r(i, a, b) for (int (i) = (a); (i) < (b); (i)++)
| ^
robots.cpp:5:19: note: in expansion of macro 'f1r'
5 | #define f0r(i, a) f1r(i, 0, a)
| ^~~
robots.cpp:65:5: note: in expansion of macro 'f0r'
65 | f0r(i, A) tmp.insert(W[i]);
| ^~~
robots.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define f1r(i, a, b) for (int (i) = (a); (i) < (b); (i)++)
| ^
robots.cpp:5:19: note: in expansion of macro 'f1r'
5 | #define f0r(i, a) f1r(i, 0, a)
| ^~~
robots.cpp:67:5: note: in expansion of macro 'f0r'
67 | f0r(i, T) X[i] = conv[X[i]];
| ^~~
robots.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define f1r(i, a, b) for (int (i) = (a); (i) < (b); (i)++)
| ^
robots.cpp:5:19: note: in expansion of macro 'f1r'
5 | #define f0r(i, a) f1r(i, 0, a)
| ^~~
robots.cpp:68:5: note: in expansion of macro 'f0r'
68 | f0r(i, A) W[i] = conv[W[i]];
| ^~~
robots.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define f1r(i, a, b) for (int (i) = (a); (i) < (b); (i)++)
| ^
robots.cpp:5:19: note: in expansion of macro 'f1r'
5 | #define f0r(i, a) f1r(i, 0, a)
| ^~~
robots.cpp:72:5: note: in expansion of macro 'f0r'
72 | f0r(i, T) tmp.insert(Y[i]);
| ^~~
robots.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define f1r(i, a, b) for (int (i) = (a); (i) < (b); (i)++)
| ^
robots.cpp:5:19: note: in expansion of macro 'f1r'
5 | #define f0r(i, a) f1r(i, 0, a)
| ^~~
robots.cpp:73:5: note: in expansion of macro 'f0r'
73 | f0r(i, B) tmp.insert(S[i]);
| ^~~
robots.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define f1r(i, a, b) for (int (i) = (a); (i) < (b); (i)++)
| ^
robots.cpp:5:19: note: in expansion of macro 'f1r'
5 | #define f0r(i, a) f1r(i, 0, a)
| ^~~
robots.cpp:75:5: note: in expansion of macro 'f0r'
75 | f0r(i, T) X[i] = conv[Y[i]];
| ^~~
robots.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define f1r(i, a, b) for (int (i) = (a); (i) < (b); (i)++)
| ^
robots.cpp:5:19: note: in expansion of macro 'f1r'
5 | #define f0r(i, a) f1r(i, 0, a)
| ^~~
robots.cpp:76:5: note: in expansion of macro 'f0r'
76 | f0r(i, B) S[i] = conv[S[i]];
| ^~~