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_22588777_5691\Main.java:5: 错误: 非法的类型开始
		while(sc.hasNext())
		^
0_0_22588777_5691\Main.java:5: 错误: 需要<标识符>
		while(sc.hasNext())
		                ^
0_0_22588777_5691\Main.java:5: 错误: 需要';'
		while(sc.hasNext())
		                 ^
0_0_22588777_5691\Main.java:5: 错误: 非法的类型开始
		while(sc.hasNext())
		                  ^
0_0_22588777_5691\Main.java:5: 错误: 需要<标识符>
		while(sc.hasNext())
		                   ^
0_0_22588777_5691\Main.java:6: 错误: 需要';'
		{	int counter=0;
		 ^
0_0_22588777_5691\Main.java:6: 错误: 需要<标识符>
		{	int counter=0;
		 	           ^
0_0_22588777_5691\Main.java:10: 错误: 非法的类型开始
			if(a==0)
			^
0_0_22588777_5691\Main.java:10: 错误: 需要<标识符>
			if(a==0)
			    ^
0_0_22588777_5691\Main.java:10: 错误: 需要';'
			if(a==0)
			      ^
0_0_22588777_5691\Main.java:10: 错误: 非法的类型开始
			if(a==0)
			       ^
0_0_22588777_5691\Main.java:10: 错误: 需要<标识符>
			if(a==0)
			        ^
0_0_22588777_5691\Main.java:12: 错误: 非法的类型开始
			for(;a>0;a--)
			^
0_0_22588777_5691\Main.java:12: 错误: 非法的类型开始
			for(;a>0;a--)
			    ^
0_0_22588777_5691\Main.java:12: 错误: 需要')'
			for(;a>0;a--)
			     ^
0_0_22588777_5691\Main.java:12: 错误: 需要';'
			for(;a>0;a--)
			      ^
0_0_22588777_5691\Main.java:12: 错误: 非法的类型开始
			for(;a>0;a--)
			       ^
0_0_22588777_5691\Main.java:12: 错误: 需要<标识符>
			for(;a>0;a--)
			        ^
0_0_22588777_5691\Main.java:12: 错误: 需要';'
			for(;a>0;a--)
			         ^
0_0_22588777_5691\Main.java:12: 错误: 非法的类型开始
			for(;a>0;a--)
			          ^
0_0_22588777_5691\Main.java:12: 错误: 需要<标识符>
			for(;a>0;a--)
			            ^
0_0_22588777_5691\Main.java:12: 错误: 需要';'
			for(;a>0;a--)
			             ^
0_0_22588777_5691\Main.java:15: 错误: 非法的类型开始
				if(b>0)
				^
0_0_22588777_5691\Main.java:15: 错误: 需要<标识符>
				if(b>0)
				    ^
0_0_22588777_5691\Main.java:15: 错误: 需要';'
				if(b>0)
				     ^
0_0_22588777_5691\Main.java:15: 错误: 非法的类型开始
				if(b>0)
				      ^
0_0_22588777_5691\Main.java:15: 错误: 需要<标识符>
				if(b>0)
				       ^
0_0_22588777_5691\Main.java:16: 错误: 需要';'
				{
				 ^
0_0_22588777_5691\Main.java:17: 错误: 非法的类型开始
					counter++;
					       ^
0_0_22588777_5691\Main.java:17: 错误: 需要<标识符>
					counter++;
					         ^
0_0_22588777_5691\Main.java:17: 错误: 需要';'
					counter++;
					          ^
0_0_22588777_5691\Main.java:19: 错误: 非法的类型开始
				else if(b==0)
				^
0_0_22588777_5691\Main.java:19: 错误: 需要<标识符>
				else if(b==0)
				    ^
0_0_22588777_5691\Main.java:19: 错误: 需要<标识符>
				else if(b==0)
				         ^
0_0_22588777_5691\Main.java:19: 错误: 需要';'
				else if(b==0)
				           ^
0_0_22588777_5691\Main.java:19: 错误: 非法的类型开始
				else if(b==0)
				            ^
0_0_22588777_5691\Main.java:19: 错误: 需要<标识符>
				else if(b==0)
				             ^
0_0_22588777_5691\Main.java:20: 错误: 需要';'
				{
				 ^
0_0_22588777_5691\Main.java:21: 错误: 非法的类型开始
					counter1++;
					        ^
0_0_22588777_5691\Main.java:21: 错误: 需要<标识符>
					counter1++;
					          ^
0_0_22588777_5691\Main.java:21: 错误: 需要';'
					counter1++;
					           ^
0_0_22588777_5691\Main.java:23: 错误: 非法的类型开始
				else
				^
0_0_22588777_5691\Main.java:24: 错误: 需要';'
					counter2++;
					        ^
0_0_22588777_5691\Main.java:26: 错误: 需要class, interface或enum
			System.out.print(counter2+" ");
			^
0_0_22588777_5691\Main.java:27: 错误: 需要class, interface或enum
			System.out.print(counter1+" ");
			^
0_0_22588777_5691\Main.java:28: 错误: 需要class, interface或enum
			System.out.println(counter);
			^
0_0_22588777_5691\Main.java:29: 错误: 需要class, interface或enum
		}	
		^
47 个错误


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-20 07:20:04, Gzip enabled