0_0_30129461_18509.cpp: In function 'void dfs(int, int, int, int)':
0_0_30129461_18509.cpp:55:9: error: 'ans' was not declared in this scope
ans[++top] = res;
^
0_0_30129461_18509.cpp:59:22: error: invalid types 'int[int]' for array subscript
int l = num[x1][0].l,r = num[x1][1];
^
0_0_30129461_18509.cpp:60:24: error: invalid types 'int[int]' for array subscript
int ll = num2[x2][0].l,rr = num2[x2][1];
^
0_0_30129461_18509.cpp:63:13: error: 'r' was not declared in this scope
else if(r&rr) dfs(tree[x1][1],tree2[x2][1],len+1,res),tree[x1][1]--,tree[x2][1]--;
^
0_0_30129461_18509.cpp:63:15: error: 'rr' was not declared in this scope
else if(r&rr) dfs(tree[x1][1],tree2[x2][1],len+1,res),tree[x1][1]--,tree[x2][1]--;
^
0_0_30129461_18509.cpp:65:68: error: 'teee' was not declared in this scope
else if(r&&ll) dfs(tree[x1][1],tree2[x2][0],len+1,res^qw[len]),teee[x1][1]--,tree2[x2][0]--;
^
0_0_30129461_18509.cpp: In function 'int main()':
0_0_30129461_18509.cpp:92:14: error: 'ans' was not declared in this scope
sort(ans+1,ans+1+n,cmp);
^
0_0_30129461_18509.cpp:92:28: error: 'cmp' was not declared in this scope
sort(ans+1,ans+1+n,cmp);
^
|