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_21805814_29658\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_21805814_29658\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_21805814_29658\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_21805814_29658\Main.java:5: 错误: 需要class, interface或enum
int num[1000005];
^
0_0_21805814_29658\Main.java:7: 错误: 需要class, interface或enum
void getnext(char *src, int m, int *next){
^
0_0_21805814_29658\Main.java:9: 错误: 需要class, interface或enum
	next[0]=j;
	^
0_0_21805814_29658\Main.java:10: 错误: 需要class, interface或enum
	while(i<m){
	^
0_0_21805814_29658\Main.java:13: 错误: 需要class, interface或enum
		i++,j++;
		^
0_0_21805814_29658\Main.java:14: 错误: 需要class, interface或enum
		if(j>=m)
		^
0_0_21805814_29658\Main.java:16: 错误: 需要class, interface或enum
		else
		^
0_0_21805814_29658\Main.java:18: 错误: 需要class, interface或enum
	}
	^
0_0_21805814_29658\Main.java:23: 错误: 需要class, interface或enum
	getnext(s,m,next);
	^
0_0_21805814_29658\Main.java:24: 错误: 需要class, interface或enum
	int i=0, j=0;
	^
0_0_21805814_29658\Main.java:25: 错误: 需要class, interface或enum
	while(i<n){
	^
0_0_21805814_29658\Main.java:28: 错误: 需要class, interface或enum
		}
		^
0_0_21805814_29658\Main.java:30: 错误: 需要class, interface或enum
		for(int v = j; v != -1; v = next[v]){
		^
0_0_21805814_29658\Main.java:30: 错误: 需要class, interface或enum
		for(int v = j; v != -1; v = next[v]){
		               ^
0_0_21805814_29658\Main.java:30: 错误: 需要class, interface或enum
		for(int v = j; v != -1; v = next[v]){
		                        ^
0_0_21805814_29658\Main.java:32: 错误: 需要class, interface或enum
		}
		^
0_0_21805814_29658\Main.java:35: 错误: 需要class, interface或enum
		}
		^
0_0_21805814_29658\Main.java:40: 错误: 需要class, interface或enum
	scanf("%d",&t);
	^
0_0_21805814_29658\Main.java:41: 错误: 需要class, interface或enum
	while (t--){
	^
0_0_21805814_29658\Main.java:43: 错误: 需要class, interface或enum
        memset(num, 0, sizeof(num));
        ^
0_0_21805814_29658\Main.java:44: 错误: 需要class, interface或enum
		scanf("%s", temp);
		^
0_0_21805814_29658\Main.java:45: 错误: 需要class, interface或enum
		len = strlen(temp);
		^
0_0_21805814_29658\Main.java:46: 错误: 需要class, interface或enum
		for(int i = 0; i < len; i++){
		^
0_0_21805814_29658\Main.java:46: 错误: 需要class, interface或enum
		for(int i = 0; i < len; i++){
		               ^
0_0_21805814_29658\Main.java:46: 错误: 需要class, interface或enum
		for(int i = 0; i < len; i++){
		                        ^
0_0_21805814_29658\Main.java:48: 错误: 需要class, interface或enum
		}
		^
0_0_21805814_29658\Main.java:50: 错误: 需要class, interface或enum
		len = strlen(temp);
		^
0_0_21805814_29658\Main.java:51: 错误: 需要class, interface或enum
		for(int i = 0; i < len; i++){
		^
0_0_21805814_29658\Main.java:51: 错误: 需要class, interface或enum
		for(int i = 0; i < len; i++){
		               ^
0_0_21805814_29658\Main.java:51: 错误: 需要class, interface或enum
		for(int i = 0; i < len; i++){
		                        ^
0_0_21805814_29658\Main.java:53: 错误: 需要class, interface或enum
		}
		^
0_0_21805814_29658\Main.java:55: 错误: 需要class, interface或enum
        len = strlen(s);
        ^
0_0_21805814_29658\Main.java:56: 错误: 需要class, interface或enum
		for(int i = 1; i <= len; i++){
		^
0_0_21805814_29658\Main.java:56: 错误: 需要class, interface或enum
		for(int i = 1; i <= len; i++){
		               ^
0_0_21805814_29658\Main.java:56: 错误: 需要class, interface或enum
		for(int i = 1; i <= len; i++){
		                         ^
0_0_21805814_29658\Main.java:59: 错误: 需要class, interface或enum
		}
		^
0_0_21805814_29658\Main.java:61: 错误: 需要class, interface或enum
	}
	^
0_0_21805814_29658\Main.java:63: 错误: 需要class, interface或enum
}
^
41 个错误


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-26 01:25:39, Gzip enabled