0_0_15644330_11977.cpp:49:1: error: 'uint' does not name a type
uint L[2][MX], R[2][MX], hv[MX];
^
0_0_15644330_11977.cpp:50:1: error: 'uint' does not name a type
uint pw[MX];
^
0_0_15644330_11977.cpp:79:1: error: 'uint' does not name a type
uint get_hv(uint *p, int l, int r) {
^
0_0_15644330_11977.cpp: In function 'void add(int, int, int)':
0_0_15644330_11977.cpp:91:15: error: 'hv' was not declared in this scope
if (get_hv(hv, m - mid + 1, m) == L[1][0] - L[1][mid] * pw[mid]) st = mid;
^
0_0_15644330_11977.cpp:91:33: error: 'get_hv' was not declared in this scope
if (get_hv(hv, m - mid + 1, m) == L[1][0] - L[1][mid] * pw[mid]) st = mid;
^
0_0_15644330_11977.cpp:91:38: error: 'L' was not declared in this scope
if (get_hv(hv, m - mid + 1, m) == L[1][0] - L[1][mid] * pw[mid]) st = mid;
^
0_0_15644330_11977.cpp:91:60: error: 'pw' was not declared in this scope
if (get_hv(hv, m - mid + 1, m) == L[1][0] - L[1][mid] * pw[mid]) st = mid;
^
0_0_15644330_11977.cpp:100:15: error: 'hv' was not declared in this scope
if (get_hv(hv, m - mid + 1, m) == R[1][0] - R[1][mid] * pw[mid]) st = mid;
^
0_0_15644330_11977.cpp:100:33: error: 'get_hv' was not declared in this scope
if (get_hv(hv, m - mid + 1, m) == R[1][0] - R[1][mid] * pw[mid]) st = mid;
^
0_0_15644330_11977.cpp:100:38: error: 'R' was not declared in this scope
if (get_hv(hv, m - mid + 1, m) == R[1][0] - R[1][mid] * pw[mid]) st = mid;
^
0_0_15644330_11977.cpp:100:60: error: 'pw' was not declared in this scope
if (get_hv(hv, m - mid + 1, m) == R[1][0] - R[1][mid] * pw[mid]) st = mid;
^
0_0_15644330_11977.cpp:110:15: error: 'hv' was not declared in this scope
if (get_hv(hv, 1, mid) == get_hv(L[0], M - m + 1, M - m + mid)) st = mid;
^
0_0_15644330_11977.cpp:110:25: error: 'get_hv' was not declared in this scope
if (get_hv(hv, 1, mid) == get_hv(L[0], M - m + 1, M - m + mid)) st = mid;
^
0_0_15644330_11977.cpp:110:37: error: 'L' was not declared in this scope
if (get_hv(hv, 1, mid) == get_hv(L[0], M - m + 1, M - m + mid)) st = mid;
^
0_0_15644330_11977.cpp:120:15: error: 'hv' was not declared in this scope
if (get_hv(hv, 1, mid) == get_hv(R[0], M - m + 1, M - m + mid)) st = mid;
^
0_0_15644330_11977.cpp:120:25: error: 'get_hv' was not declared in this scope
if (get_hv(hv, 1, mid) == get_hv(R[0], M - m + 1, M - m + mid)) st = mid;
^
0_0_15644330_11977.cpp:120:37: error: 'R' was not declared in this scope
if (get_hv(hv, 1, mid) == get_hv(R[0], M - m + 1, M - m + mid)) st = mid;
^
0_0_15644330_11977.cpp: In function 'void dfs(int, int, int, int)':
0_0_15644330_11977.cpp:141:3: error: 'hv' was not declared in this scope
hv[dp + 1] = hv[dp] * 3 + adj[u][i].se;
^
0_0_15644330_11977.cpp: In function 'LL calc(int)':
0_0_15644330_11977.cpp:160:3: error: 'hv' was not declared in this scope
hv[0] = 0;
^
0_0_15644330_11977.cpp: In function 'int main()':
0_0_15644330_11977.cpp:220:2: error: 'pw' was not declared in this scope
pw[0] = 1;
^
0_0_15644330_11977.cpp:233:4: error: 'L' was not declared in this scope
L[0][i] = L[0][i - 1] * 3 + A[i - 1];
^
0_0_15644330_11977.cpp:234:4: error: 'R' was not declared in this scope
R[0][i] = R[0][i - 1] * 3 + B[i - 1];
^
0_0_15644330_11977.cpp:236:3: error: 'L' was not declared in this scope
L[1][M] = R[1][M] = 0;
^
0_0_15644330_11977.cpp:236:13: error: 'R' was not declared in this scope
L[1][M] = R[1][M] = 0;
^
|