factories.cpp:5:2: warning: #warning using32bitint [-Wcpp]
5 | #warning using32bitint
| ^~~~~~~
factories.cpp:21:2: warning: #warning checkconstanst as per subtask [-Wcpp]
21 | #warning checkconstanst as per subtask
| ^~~~~~~
factories.cpp: In function 'void Init(int, int*, int*, int*)':
factories.cpp:9:30: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define rep(i, a, b) for(int (i) = (a); i <= (b); ++i)
| ^
factories.cpp:33:5: note: in expansion of macro 'rep'
33 | rep(i, 0, N - 2) {
| ^~~
factories.cpp:9:30: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define rep(i, a, b) for(int (i) = (a); i <= (b); ++i)
| ^
factories.cpp:37:5: note: in expansion of macro 'rep'
37 | rep(i, 0, N - 1) {
| ^~~
factories.cpp: In function 'long long int Query(int, int*, int, int*)':
factories.cpp:9:30: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define rep(i, a, b) for(int (i) = (a); i <= (b); ++i)
| ^
factories.cpp:45:5: note: in expansion of macro 'rep'
45 | rep(i, 0, S - 1) spec[X[i]] = 1;
| ^~~
factories.cpp:9:30: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define rep(i, a, b) for(int (i) = (a); i <= (b); ++i)
| ^
factories.cpp:49:5: note: in expansion of macro 'rep'
49 | rep(i, 0, T - 1) {
| ^~~
factories.cpp:9:30: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define rep(i, a, b) for(int (i) = (a); i <= (b); ++i)
| ^
factories.cpp:66:5: note: in expansion of macro 'rep'
66 | rep(i, 0, S - 1) {
| ^~~
factories.cpp:9:30: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define rep(i, a, b) for(int (i) = (a); i <= (b); ++i)
| ^
factories.cpp:70:5: note: in expansion of macro 'rep'
70 | rep(i, 0, n - 1) dist[i] = -1;
| ^~~
factories.cpp:9:30: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define rep(i, a, b) for(int (i) = (a); i <= (b); ++i)
| ^
factories.cpp:71:5: note: in expansion of macro 'rep'
71 | rep(i, 0, S - 1) spec[X[i]] = 0;
| ^~~