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_29007830_2997\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_29007830_2997\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
        ^
0_0_29007830_2997\Main.java:2: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_29007830_2997\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_29007830_2997\Main.java:4: 错误: 非法字符: '#'
#include<queue>
^
0_0_29007830_2997\Main.java:5: 错误: 非法字符: '#'
#include<cmath>
^
0_0_29007830_2997\Main.java:6: 错误: 非法字符: '#'
#define eps 1e-9
^
0_0_29007830_2997\Main.java:9: 错误: 需要class, interface或enum
queue<int>Q;
^
0_0_29007830_2997\Main.java:10: 错误: 需要class, interface或enum
int t[400001][26],T,now,n,mal,tag[400001],fail[400001],l,root;
^
0_0_29007830_2997\Main.java:11: 错误: 需要class, interface或enum
char b[100002],M[100002];
^
0_0_29007830_2997\Main.java:12: 错误: 需要class, interface或enum
int tot;
^
0_0_29007830_2997\Main.java:14: 错误: 需要class, interface或enum
void insert(int w){
^
0_0_29007830_2997\Main.java:16: 错误: 需要class, interface或enum
     for (int j=1;j<=l;j++){
     ^
0_0_29007830_2997\Main.java:16: 错误: 需要class, interface或enum
     for (int j=1;j<=l;j++){
                  ^
0_0_29007830_2997\Main.java:16: 错误: 需要class, interface或enum
     for (int j=1;j<=l;j++){
                       ^
0_0_29007830_2997\Main.java:18: 错误: 需要class, interface或enum
     now=t[now][b[j]-'a'];
     ^
0_0_29007830_2997\Main.java:19: 错误: 需要class, interface或enum
     if (j==l)tag[now]++;
     ^
0_0_29007830_2997\Main.java:20: 错误: 需要class, interface或enum
     }    
     ^
0_0_29007830_2997\Main.java:23: 错误: 需要class, interface或enum
     for (int i=0;i<26;i++)     
                  ^
0_0_29007830_2997\Main.java:23: 错误: 需要class, interface或enum
     for (int i=0;i<26;i++)     
                       ^
0_0_29007830_2997\Main.java:25: 错误: 需要class, interface或enum
     else {
     ^
0_0_29007830_2997\Main.java:27: 错误: 需要class, interface或enum
     Q.push(t[0][i]);
     ^
0_0_29007830_2997\Main.java:28: 错误: 需要class, interface或enum
     }
     ^
0_0_29007830_2997\Main.java:30: 错误: 需要class, interface或enum
     while (!Q.empty()){
     ^
0_0_29007830_2997\Main.java:31: 错误: 需要class, interface或enum
     now=Q.front();Q.pop();
                   ^
0_0_29007830_2997\Main.java:32: 错误: 需要class, interface或enum
     for (int i=0;i<26;i++)if (t[now][i]==-1)t[now][i]=0;
     ^
0_0_29007830_2997\Main.java:32: 错误: 需要class, interface或enum
     for (int i=0;i<26;i++)if (t[now][i]==-1)t[now][i]=0;
                  ^
0_0_29007830_2997\Main.java:32: 错误: 需要class, interface或enum
     for (int i=0;i<26;i++)if (t[now][i]==-1)t[now][i]=0;
                       ^
0_0_29007830_2997\Main.java:33: 错误: 需要class, interface或enum
        else fail[t[now][i]]=t[fail[now]][i],Q.push(t[now][i]);
        ^
0_0_29007830_2997\Main.java:34: 错误: 需要class, interface或enum
     }    
     ^
0_0_29007830_2997\Main.java:39: 错误: 需要class, interface或enum
    scanf("%d",&T);root=0;
                   ^
0_0_29007830_2997\Main.java:40: 错误: 需要class, interface或enum
    while (T--){
    ^
0_0_29007830_2997\Main.java:41: 错误: 需要class, interface或enum
    memset(t,-1,sizeof(t));tot=0;
                           ^
0_0_29007830_2997\Main.java:42: 错误: 需要class, interface或enum
    memset(fail,0,sizeof(fail));
    ^
0_0_29007830_2997\Main.java:43: 错误: 需要class, interface或enum
    memset(tag,0,sizeof(tag));
    ^
0_0_29007830_2997\Main.java:44: 错误: 需要class, interface或enum
    scanf("%d",&n);mal=0;
    ^
0_0_29007830_2997\Main.java:44: 错误: 需要class, interface或enum
    scanf("%d",&n);mal=0;
                   ^
0_0_29007830_2997\Main.java:46: 错误: 需要class, interface或enum
    for (int i=1;i<=n;i++){
    ^
0_0_29007830_2997\Main.java:46: 错误: 需要class, interface或enum
    for (int i=1;i<=n;i++){
                 ^
0_0_29007830_2997\Main.java:46: 错误: 需要class, interface或enum
    for (int i=1;i<=n;i++){
                      ^
0_0_29007830_2997\Main.java:47: 错误: 需要class, interface或enum
	scanf("%s",b+1);l=strlen(b+1);    
	                ^
0_0_29007830_2997\Main.java:48: 错误: 需要class, interface或enum
    insert(i);
    ^
0_0_29007830_2997\Main.java:49: 错误: 需要class, interface或enum
    if (l>mal){
    ^
0_0_29007830_2997\Main.java:51: 错误: 需要class, interface或enum
    	for (int j=1;j<=l;j++)M[j]=b[j];
    	^
0_0_29007830_2997\Main.java:51: 错误: 需要class, interface或enum
    	for (int j=1;j<=l;j++)M[j]=b[j];
    	             ^
0_0_29007830_2997\Main.java:51: 错误: 需要class, interface或enum
    	for (int j=1;j<=l;j++)M[j]=b[j];
    	                  ^
0_0_29007830_2997\Main.java:52: 错误: 需要class, interface或enum
		}
		^
0_0_29007830_2997\Main.java:55: 错误: 需要class, interface或enum
    build();
    ^
0_0_29007830_2997\Main.java:56: 错误: 需要class, interface或enum
    now=root;int tem=0,temp;
    ^
0_0_29007830_2997\Main.java:56: 错误: 需要class, interface或enum
    now=root;int tem=0,temp;
             ^
0_0_29007830_2997\Main.java:57: 错误: 需要class, interface或enum
    for (int i=1;i<=l;i++){
    ^
0_0_29007830_2997\Main.java:57: 错误: 需要class, interface或enum
    for (int i=1;i<=l;i++){
                 ^
0_0_29007830_2997\Main.java:57: 错误: 需要class, interface或enum
    for (int i=1;i<=l;i++){
                      ^
0_0_29007830_2997\Main.java:61: 错误: 需要class, interface或enum
    	now=t[now][M[i]-'a'];
    	^
0_0_29007830_2997\Main.java:62: 错误: 需要class, interface或enum
    	temp=now;
    	^
0_0_29007830_2997\Main.java:63: 错误: 需要class, interface或enum
    	while (temp>0)
    	^
0_0_29007830_2997\Main.java:65: 错误: 需要class, interface或enum
	}
	^
0_0_29007830_2997\Main.java:67: 错误: 需要class, interface或enum
		for (int i=1;i<=l;i++)printf("%c",M[i]);
		             ^
0_0_29007830_2997\Main.java:67: 错误: 需要class, interface或enum
		for (int i=1;i<=l;i++)printf("%c",M[i]);
		                  ^
0_0_29007830_2997\Main.java:68: 错误: 需要class, interface或enum
		puts("");
		^
0_0_29007830_2997\Main.java:69: 错误: 需要class, interface或enum
	}
	^
0_0_29007830_2997\Main.java:71: 错误: 需要class, interface或enum
 }
 ^
0_0_29007830_2997\Main.java:73: 错误: 需要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-25 19:23:16, Gzip enabled