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_39372511_8769\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_39372511_8769\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_39372511_8769\Main.java:2: 错误: 非法字符: '#'
#include<string>
^
0_0_39372511_8769\Main.java:4: 错误: 需要class, interface或enum
int T,i,j;
^
0_0_39372511_8769\Main.java:5: 错误: 需要class, interface或enum
char a[5000], b[5000];
^
0_0_39372511_8769\Main.java:6: 错误: 需要class, interface或enum
bool flag1, flag2;			//flag1答案正确(true代表错误),flag2格式正确(true代表错误)
^
0_0_39372511_8769\Main.java:8: 错误: 需要class, interface或enum
int input(char *a)
^
0_0_39372511_8769\Main.java:11: 错误: 需要class, interface或enum
	while (true)
	^
0_0_39372511_8769\Main.java:14: 错误: 需要class, interface或enum
		if (a[i - 3] == '\n'&&a[i - 2] == 'E'&&a[i - 1] == 'N'&&a[i] == 'D')  //当'\n','E','N','D'相连时跳出循环
		^
0_0_39372511_8769\Main.java:16: 错误: 需要class, interface或enum
		i++;
		^
0_0_39372511_8769\Main.java:17: 错误: 需要class, interface或enum
	}
	^
0_0_39372511_8769\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_39372511_8769\Main.java:22: 错误: 需要class, interface或enum
	for (int x = 5, y = 5; x < i-2 || y<j-2;)
	                       ^
0_0_39372511_8769\Main.java:22: 错误: 需要class, interface或enum
	for (int x = 5, y = 5; x < i-2 || y<j-2;)
	                                        ^
0_0_39372511_8769\Main.java:26: 错误: 需要class, interface或enum
			x++;y++;
			    ^
0_0_39372511_8769\Main.java:27: 错误: 需要class, interface或enum
		}
		^
0_0_39372511_8769\Main.java:30: 错误: 需要class, interface或enum
			x++;flag2 = true;
			    ^
0_0_39372511_8769\Main.java:31: 错误: 需要class, interface或enum
		}
		^
0_0_39372511_8769\Main.java:34: 错误: 需要class, interface或enum
			y++;flag2 = true;
			    ^
0_0_39372511_8769\Main.java:35: 错误: 需要class, interface或enum
		}
		^
0_0_39372511_8769\Main.java:39: 错误: 需要class, interface或enum
			break;
			^
0_0_39372511_8769\Main.java:40: 错误: 需要class, interface或enum
		}
		^
0_0_39372511_8769\Main.java:47: 错误: 需要class, interface或enum
	while (T--)
	^
0_0_39372511_8769\Main.java:50: 错误: 需要class, interface或enum
		i = input(a);
		^
0_0_39372511_8769\Main.java:51: 错误: 需要class, interface或enum
		j = input(b);
		^
0_0_39372511_8769\Main.java:52: 错误: 需要class, interface或enum
		judge();
		^
0_0_39372511_8769\Main.java:53: 错误: 需要class, interface或enum
		if (flag1)
		^
0_0_39372511_8769\Main.java:55: 错误: 需要class, interface或enum
		else
		^
0_0_39372511_8769\Main.java:59: 错误: 需要class, interface或enum
			else
			^
0_0_39372511_8769\Main.java:61: 错误: 需要class, interface或enum
		}
		^
0_0_39372511_8769\Main.java:64: 错误: 需要class, interface或enum
}
^
31 个错误


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 19:35:48, Gzip enabled