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(long long int, long long int*, long long int*, long long 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:32:5: note: in expansion of macro 'rep'
32 | 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:36:5: note: in expansion of macro 'rep'
36 | rep(i, 0, N - 1) {
| ^~~
factories.cpp: In function 'long long int Query(long long int, long long int*, long long int, long long 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:43:5: note: in expansion of macro 'rep'
43 | 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:47:5: note: in expansion of macro 'rep'
47 | 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:64:5: note: in expansion of macro 'rep'
64 | 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:68:5: note: in expansion of macro 'rep'
68 | 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:69:5: note: in expansion of macro 'rep'
69 | rep(i, 0, S - 1) spec[X[i]] = 0;
| ^~~
/usr/bin/ld: /tmp/cczZQVfX.o: in function `main':
grader.cpp:(.text.startup+0x37d): undefined reference to `Init(int, int*, int*, int*)'
/usr/bin/ld: grader.cpp:(.text.startup+0x412): undefined reference to `Query(int, int*, int, int*)'
collect2: error: ld returned 1 exit status