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_16499779_14964\Main.java:81: 错误: 需要class, interface或enum
}
^
0_0_16499779_14964\Main.java:82: 错误: 需要class, interface或enum
public static void main(String[] args) {
              ^
0_0_16499779_14964\Main.java:84: 错误: 需要class, interface或enum
	init();
	^
0_0_16499779_14964\Main.java:86: 错误: 需要class, interface或enum
	while(scan.hasNext()){
	^
0_0_16499779_14964\Main.java:89: 错误: 需要class, interface或enum
		int a=scan.nextInt();
		^
0_0_16499779_14964\Main.java:90: 错误: 需要class, interface或enum
		int b=scan.nextInt();
		^
0_0_16499779_14964\Main.java:91: 错误: 需要class, interface或enum
		if(a==-1&&b==-1)
		^
0_0_16499779_14964\Main.java:93: 错误: 需要class, interface或enum
		int count=0;
		^
0_0_16499779_14964\Main.java:94: 错误: 需要class, interface或enum
		while(!(a==0&&b==0)){
		^
0_0_16499779_14964\Main.java:97: 错误: 需要class, interface或enum
			}
			^
0_0_16499779_14964\Main.java:99: 错误: 需要class, interface或enum
			mark[a]=1;
			^
0_0_16499779_14964\Main.java:100: 错误: 需要class, interface或enum
			mark[b]=1;
			^
0_0_16499779_14964\Main.java:101: 错误: 需要class, interface或enum
		a=scan.nextInt();
		^
0_0_16499779_14964\Main.java:102: 错误: 需要class, interface或enum
		b=scan.nextInt();
		^
0_0_16499779_14964\Main.java:104: 错误: 需要class, interface或enum
		}
		^
0_0_16499779_14964\Main.java:107: 错误: 需要class, interface或enum
			continue;
			^
0_0_16499779_14964\Main.java:108: 错误: 需要class, interface或enum
		}
		^
0_0_16499779_14964\Main.java:110: 错误: 需要class, interface或enum
		for(int i=0;i<100000;i++){
		^
0_0_16499779_14964\Main.java:110: 错误: 需要class, interface或enum
		for(int i=0;i<100000;i++){
		            ^
0_0_16499779_14964\Main.java:110: 错误: 需要class, interface或enum
		for(int i=0;i<100000;i++){
		                     ^
0_0_16499779_14964\Main.java:112: 错误: 需要class, interface或enum
		}
		^
0_0_16499779_14964\Main.java:116: 错误: 需要class, interface或enum
		else if(sum-count==1){
		^
0_0_16499779_14964\Main.java:118: 错误: 需要class, interface或enum
		}
		^
0_0_16499779_14964\Main.java:121: 错误: 需要class, interface或enum
		init();
		^
0_0_16499779_14964\Main.java:122: 错误: 需要class, interface或enum
	}
	^
25 个错误


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-17 03:05:28, Gzip enabled