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_23302449_29942\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_23302449_29942\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
        ^
0_0_23302449_29942\Main.java:2: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_23302449_29942\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_23302449_29942\Main.java:4: 错误: 非法字符: '#'
#include<iostream>
^
0_0_23302449_29942\Main.java:5: 错误: 非法字符: '#'
#include<queue>
^
0_0_23302449_29942\Main.java:7: 错误: 需要class, interface或enum
const int N=101000,L=100100;
^
0_0_23302449_29942\Main.java:8: 错误: 需要class, interface或enum
char s[L];
^
0_0_23302449_29942\Main.java:9: 错误: 需要class, interface或enum
int num,n;
^
0_0_23302449_29942\Main.java:10: 错误: 需要class, interface或enum
struct node{
^
0_0_23302449_29942\Main.java:12: 错误: 需要class, interface或enum
int fail,cnt;
^
0_0_23302449_29942\Main.java:13: 错误: 需要class, interface或enum
}a[N*30];
^
0_0_23302449_29942\Main.java:14: 错误: 需要class, interface或enum
queue<int> q;
^
0_0_23302449_29942\Main.java:15: 错误: 需要class, interface或enum
void clear(int x)
^
0_0_23302449_29942\Main.java:18: 错误: 需要class, interface或enum
a[x].fail=0;
^
0_0_23302449_29942\Main.java:19: 错误: 需要class, interface或enum
memset(a[x].son,0,sizeof(a[x].son));
^
0_0_23302449_29942\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_23302449_29942\Main.java:25: 错误: 需要class, interface或enum
int x=0;
^
0_0_23302449_29942\Main.java:26: 错误: 需要class, interface或enum
for(int i=0;i<l;i++)
^
0_0_23302449_29942\Main.java:26: 错误: 需要class, interface或enum
for(int i=0;i<l;i++)
            ^
0_0_23302449_29942\Main.java:26: 错误: 需要class, interface或enum
for(int i=0;i<l;i++)
                ^
0_0_23302449_29942\Main.java:29: 错误: 需要class, interface或enum
if(!a[x].son[t])
^
0_0_23302449_29942\Main.java:32: 错误: 需要class, interface或enum
clear(num);
^
0_0_23302449_29942\Main.java:33: 错误: 需要class, interface或enum
a[x].son[t]=num;
^
0_0_23302449_29942\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_23302449_29942\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_23302449_29942\Main.java:38: 错误: 需要class, interface或enum
}
^
0_0_23302449_29942\Main.java:43: 错误: 需要class, interface或enum
for(int i=1;i<=26;i++)
^
0_0_23302449_29942\Main.java:43: 错误: 需要class, interface或enum
for(int i=1;i<=26;i++)
            ^
0_0_23302449_29942\Main.java:43: 错误: 需要class, interface或enum
for(int i=1;i<=26;i++)
                  ^
0_0_23302449_29942\Main.java:46: 错误: 需要class, interface或enum
while(!q.empty())
^
0_0_23302449_29942\Main.java:48: 错误: 需要class, interface或enum
int x=q.front();q.pop();
                ^
0_0_23302449_29942\Main.java:49: 错误: 需要class, interface或enum
int fail=a[x].fail;
^
0_0_23302449_29942\Main.java:50: 错误: 需要class, interface或enum
for(int i=1;i<=26;i++)
^
0_0_23302449_29942\Main.java:50: 错误: 需要class, interface或enum
for(int i=1;i<=26;i++)
            ^
0_0_23302449_29942\Main.java:50: 错误: 需要class, interface或enum
for(int i=1;i<=26;i++)
                  ^
0_0_23302449_29942\Main.java:53: 错误: 需要class, interface或enum
if(y)
^
0_0_23302449_29942\Main.java:56: 错误: 需要class, interface或enum
q.push(y);
^
0_0_23302449_29942\Main.java:57: 错误: 需要class, interface或enum
}
^
0_0_23302449_29942\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_23302449_29942\Main.java:66: 错误: 需要class, interface或enum
int x=0,ans=0;
^
0_0_23302449_29942\Main.java:67: 错误: 需要class, interface或enum
for(int i=0;i<l;i++)
^
0_0_23302449_29942\Main.java:67: 错误: 需要class, interface或enum
for(int i=0;i<l;i++)
            ^
0_0_23302449_29942\Main.java:67: 错误: 需要class, interface或enum
for(int i=0;i<l;i++)
                ^
0_0_23302449_29942\Main.java:70: 错误: 需要class, interface或enum
while(x && !a[x].son[t]) x=a[x].fail;
^
0_0_23302449_29942\Main.java:71: 错误: 需要class, interface或enum
x=a[x].son[t];
^
0_0_23302449_29942\Main.java:72: 错误: 需要class, interface或enum
int p=x;
^
0_0_23302449_29942\Main.java:73: 错误: 需要class, interface或enum
while(p && a[p].cnt!=-1)
^
0_0_23302449_29942\Main.java:76: 错误: 需要class, interface或enum
a[p].cnt=-1;
^
0_0_23302449_29942\Main.java:77: 错误: 需要class, interface或enum
p=a[p].fail;
^
0_0_23302449_29942\Main.java:78: 错误: 需要class, interface或enum
}
^
0_0_23302449_29942\Main.java:81: 错误: 需要class, interface或enum
}
^
0_0_23302449_29942\Main.java:86: 错误: 需要class, interface或enum
scanf("%d",&T);
^
0_0_23302449_29942\Main.java:87: 错误: 需要class, interface或enum
while(T--)
^
0_0_23302449_29942\Main.java:90: 错误: 需要class, interface或enum
num=0;
^
0_0_23302449_29942\Main.java:91: 错误: 需要class, interface或enum
clear(0);
^
0_0_23302449_29942\Main.java:92: 错误: 需要class, interface或enum
int maxl=-1;
^
0_0_23302449_29942\Main.java:93: 错误: 需要class, interface或enum
char maxs[L];
^
0_0_23302449_29942\Main.java:94: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_23302449_29942\Main.java:94: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
            ^
0_0_23302449_29942\Main.java:94: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
                 ^
0_0_23302449_29942\Main.java:97: 错误: 需要class, interface或enum
trie(s);
^
0_0_23302449_29942\Main.java:98: 错误: 需要class, interface或enum
int a=(int)strlen(s);
^
0_0_23302449_29942\Main.java:99: 错误: 需要class, interface或enum
if(a>maxl)
^
0_0_23302449_29942\Main.java:102: 错误: 需要class, interface或enum
strcpy(maxs,s);
^
0_0_23302449_29942\Main.java:103: 错误: 需要class, interface或enum
}
^
0_0_23302449_29942\Main.java:106: 错误: 需要class, interface或enum
strcpy(maxs,s);
^
0_0_23302449_29942\Main.java:108: 错误: 需要class, interface或enum
buildAC();
^
0_0_23302449_29942\Main.java:109: 错误: 需要class, interface或enum
int ans=find(maxs);
^
0_0_23302449_29942\Main.java:110: 错误: 需要class, interface或enum
printf("%d",ans);
^
0_0_23302449_29942\Main.java:115: 错误: 需要class, interface或enum
}
^
0_0_23302449_29942\Main.java:117: 错误: 需要class, interface或enum
} 
^
72 个错误


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-16 09:21:11, Gzip enabled