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_29338713_16099\Main.java:1: 错误: 需要class, interface或enum
struct Trie
^
0_0_29338713_16099\Main.java:4: 错误: 需要class, interface或enum
int root ,L;
^
0_0_29338713_16099\Main.java:5: 错误: 需要class, interface或enum
int newnode()
^
0_0_29338713_16099\Main.java:7: 错误: 需要class, interface或enum
for(int i=0;i<26;i++)
            ^
0_0_29338713_16099\Main.java:7: 错误: 需要class, interface或enum
for(int i=0;i<26;i++)
                 ^
0_0_29338713_16099\Main.java:9: 错误: 需要class, interface或enum
end[L++]=0;
^
0_0_29338713_16099\Main.java:10: 错误: 需要class, interface或enum
reutrn L-1;
^
0_0_29338713_16099\Main.java:11: 错误: 需要class, interface或enum
}
^
0_0_29338713_16099\Main.java:15: 错误: 需要class, interface或enum
root = newnode();
^
0_0_29338713_16099\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_29338713_16099\Main.java:20: 错误: 需要class, interface或enum
int now =root;
^
0_0_29338713_16099\Main.java:21: 错误: 需要class, interface或enum
for(int i=0;i<len;i++)
^
0_0_29338713_16099\Main.java:21: 错误: 需要class, interface或enum
for(int i=0;i<len;i++)
            ^
0_0_29338713_16099\Main.java:21: 错误: 需要class, interface或enum
for(int i=0;i<len;i++)
                  ^
0_0_29338713_16099\Main.java:25: 错误: 需要class, interface或enum
now=next[now][buf[i]-'a'];
^
0_0_29338713_16099\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_29338713_16099\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_29338713_16099\Main.java:32: 错误: 需要class, interface或enum
fail[root]=root;
^
0_0_29338713_16099\Main.java:33: 错误: 需要class, interface或enum
for(int i=0;i<26;i++)
^
0_0_29338713_16099\Main.java:33: 错误: 需要class, interface或enum
for(int i=0;i<26;i++)
            ^
0_0_29338713_16099\Main.java:33: 错误: 需要class, interface或enum
for(int i=0;i<26;i++)
                 ^
0_0_29338713_16099\Main.java:36: 错误: 需要class, interface或enum
else
^
0_0_29338713_16099\Main.java:39: 错误: 需要class, interface或enum
Q.push(next[root][i]);
^
0_0_29338713_16099\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_29338713_16099\Main.java:44: 错误: 需要class, interface或enum
Q.pop();
^
0_0_29338713_16099\Main.java:45: 错误: 需要class, interface或enum
for(int i=0;i<26;i++)
^
0_0_29338713_16099\Main.java:45: 错误: 需要class, interface或enum
for(int i=0;i<26;i++)
            ^
0_0_29338713_16099\Main.java:45: 错误: 需要class, interface或enum
for(int i=0;i<26;i++)
                 ^
0_0_29338713_16099\Main.java:48: 错误: 需要class, interface或enum
else
^
0_0_29338713_16099\Main.java:51: 错误: 需要class, interface或enum
Q.push(next[now][i]);
^
0_0_29338713_16099\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_29338713_16099\Main.java:58: 错误: 需要class, interface或enum
int now = root;
^
0_0_29338713_16099\Main.java:59: 错误: 需要class, interface或enum
int res=0;
^
0_0_29338713_16099\Main.java:60: 错误: 需要class, interface或enum
for(int i=0;i<len;i++)
^
0_0_29338713_16099\Main.java:60: 错误: 需要class, interface或enum
for(int i=0;i<len;i++)
            ^
0_0_29338713_16099\Main.java:60: 错误: 需要class, interface或enum
for(int i=0;i<len;i++)
                  ^
0_0_29338713_16099\Main.java:63: 错误: 需要class, interface或enum
int temp=now;
^
0_0_29338713_16099\Main.java:64: 错误: 需要class, interface或enum
while(temp!=root)
^
0_0_29338713_16099\Main.java:67: 错误: 需要class, interface或enum
end[temp]=0;
^
0_0_29338713_16099\Main.java:68: 错误: 需要class, interface或enum
temp=fail[temp];
^
0_0_29338713_16099\Main.java:69: 错误: 需要class, interface或enum
}
^
0_0_29338713_16099\Main.java:72: 错误: 需要class, interface或enum
}
^
0_0_29338713_16099\Main.java:75: 错误: 需要class, interface或enum
for(int i=0;i<L;i++)
            ^
0_0_29338713_16099\Main.java:75: 错误: 需要class, interface或enum
for(int i=0;i<L;i++)
                ^
0_0_29338713_16099\Main.java:78: 错误: 需要class, interface或enum
for(int j=0;j<26;j++)
^
0_0_29338713_16099\Main.java:78: 错误: 需要class, interface或enum
for(int j=0;j<26;j++)
            ^
0_0_29338713_16099\Main.java:78: 错误: 需要class, interface或enum
for(int j=0;j<26;j++)
                 ^
0_0_29338713_16099\Main.java:80: 错误: 需要class, interface或enum
printf("]\n");
^
0_0_29338713_16099\Main.java:81: 错误: 需要class, interface或enum
}
^
0_0_29338713_16099\Main.java:84: 错误: 需要class, interface或enum
char buf[1000010];
^
0_0_29338713_16099\Main.java:85: 错误: 需要class, interface或enum
Trie ac;
^
0_0_29338713_16099\Main.java:86: 错误: 需要class, interface或enum
int main()
^
0_0_29338713_16099\Main.java:89: 错误: 需要class, interface或enum
scanf("%d",&n);
^
0_0_29338713_16099\Main.java:90: 错误: 需要class, interface或enum
ac.init();
^
0_0_29338713_16099\Main.java:91: 错误: 需要class, interface或enum
for(int i=0;i<n;i++)
^
0_0_29338713_16099\Main.java:91: 错误: 需要class, interface或enum
for(int i=0;i<n;i++)
            ^
0_0_29338713_16099\Main.java:91: 错误: 需要class, interface或enum
for(int i=0;i<n;i++)
                ^
0_0_29338713_16099\Main.java:94: 错误: 需要class, interface或enum
ac.insert(buf);
^
0_0_29338713_16099\Main.java:95: 错误: 需要class, interface或enum
}
^
0_0_29338713_16099\Main.java:97: 错误: 需要class, interface或enum
scanf("%s",buf);
^
0_0_29338713_16099\Main.java:98: 错误: 需要class, interface或enum
printf("%d\n",ac.query(buf));
^
0_0_29338713_16099\Main.java:99: 错误: 需要class, interface或enum
}
^
0_0_29338713_16099\Main.java:101: 错误: 需要class, interface或enum
}
^
63 个错误


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-11-30 09:34:53, Gzip enabled