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_34890798_25713\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_34890798_25713\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
        ^
0_0_34890798_25713\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_34890798_25713\Main.java:4: 错误: 非法字符: '#'
#define M 10010
^
0_0_34890798_25713\Main.java:4: 错误: 需要class, interface或enum
#define M 10010
        ^
0_0_34890798_25713\Main.java:6: 错误: 需要class, interface或enum
char buf[M*100],str[M];
^
0_0_34890798_25713\Main.java:7: 错误: 需要class, interface或enum
int p[M];
^
0_0_34890798_25713\Main.java:9: 错误: 需要class, interface或enum
void getp(){  
^
0_0_34890798_25713\Main.java:11: 错误: 需要class, interface或enum
    p[0]=-1;  
    ^
0_0_34890798_25713\Main.java:12: 错误: 需要class, interface或enum
    while(i!=len2){  
    ^
0_0_34890798_25713\Main.java:15: 错误: 需要class, interface或enum
        else  
        ^
0_0_34890798_25713\Main.java:17: 错误: 需要class, interface或enum
    }  
    ^
0_0_34890798_25713\Main.java:22: 错误: 需要class, interface或enum
    int i=0,j=0,count=0;  
    ^
0_0_34890798_25713\Main.java:23: 错误: 需要class, interface或enum
    while(i!=len1&&j!=len2){  
    ^
0_0_34890798_25713\Main.java:26: 错误: 需要class, interface或enum
        else  
        ^
0_0_34890798_25713\Main.java:28: 错误: 需要class, interface或enum
        if(j==len2){  
        ^
0_0_34890798_25713\Main.java:30: 错误: 需要class, interface或enum
            j=p[j];  
            ^
0_0_34890798_25713\Main.java:31: 错误: 需要class, interface或enum
        }  
        ^
0_0_34890798_25713\Main.java:34: 错误: 需要class, interface或enum
}  
^
0_0_34890798_25713\Main.java:38: 错误: 需要class, interface或enum
	scanf("%d",&t);
	^
0_0_34890798_25713\Main.java:39: 错误: 需要class, interface或enum
	while(t--){
	^
0_0_34890798_25713\Main.java:41: 错误: 需要class, interface或enum
		len1=strlen(buf);
		^
0_0_34890798_25713\Main.java:42: 错误: 需要class, interface或enum
		len2=strlen(str);
		^
0_0_34890798_25713\Main.java:43: 错误: 需要class, interface或enum
		total=kmp();
		^
0_0_34890798_25713\Main.java:44: 错误: 需要class, interface或enum
		printf("%d\n",total);
		^
0_0_34890798_25713\Main.java:45: 错误: 需要class, interface或enum
	}
	^
0_0_34890798_25713\Main.java:47: 错误: 需要class, interface或enum
}
^
27 个错误


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 05:15:22, Gzip enabled