F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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);
                            ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-07-06 03:34:36, Gzip enabled