0_0_15684495_5469.cpp: In function 'int query(int, int)':
0_0_15684495_5469.cpp:66:10: error: 'lg' was not declared in this scope
t = lg(t);
^
0_0_15684495_5469.cpp: In function 'int dfs(int)':
0_0_15684495_5469.cpp:133:6: error: 'p' was not declared in this scope
if(p[u].y != p[v].y)
^
0_0_15684495_5469.cpp:138:14: error: 'p' was not declared in this scope
dp[u][0] += p[u].z == 0;
^
0_0_15684495_5469.cpp: In function 'int main()':
0_0_15684495_5469.cpp:158:4: error: 'p' was not declared in this scope
p[i] = node(l, r - 1, y, z);
^
0_0_15684495_5469.cpp:160:8: error: 'p' was not declared in this scope
sort(p + 1, p + m + 1);
^
0_0_15684495_5469.cpp:174:5: error: 'ans' was not declared in this scope
ans += max(dp[i][0], dp[i][1]);
^
0_0_15684495_5469.cpp:177:34: error: 'ans' was not declared in this scope
printf("Case #%d: %d\n", ++kk, ans);
^
|