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_2949074_24277\Main.java:6: 非法的类型开始
    {
    ^
0_0_2949074_24277\Main.java:6: 需要 ')'
    {
     ^
0_0_2949074_24277\Main.java:7: 需要 ';'
		Scanner s=new Scanner(System.in);
		       ^
0_0_2949074_24277\Main.java:7: 非法的类型开始
		Scanner s=new Scanner(System.in);
		         ^
0_0_2949074_24277\Main.java:7: 需要 <标识符>
		Scanner s=new Scanner(System.in);
		          ^
0_0_2949074_24277\Main.java:7: 需要 ';'
		Scanner s=new Scanner(System.in);
		             ^
0_0_2949074_24277\Main.java:7: 非法的类型开始
		Scanner s=new Scanner(System.in);
		                     ^
0_0_2949074_24277\Main.java:7: 需要 ';'
		Scanner s=new Scanner(System.in);
		                            ^
0_0_2949074_24277\Main.java:7: 需要 <标识符>
		Scanner s=new Scanner(System.in);
		                               ^
0_0_2949074_24277\Main.java:8: 非法的类型开始
		while(s.hasNext()){
		^
0_0_2949074_24277\Main.java:8: 需要 <标识符>
		while(s.hasNext()){
		               ^
0_0_2949074_24277\Main.java:8: 需要 ';'
		while(s.hasNext()){
		                ^
0_0_2949074_24277\Main.java:8: 非法的类型开始
		while(s.hasNext()){
		                 ^
0_0_2949074_24277\Main.java:8: 需要 <标识符>
		while(s.hasNext()){
		                  ^
0_0_2949074_24277\Main.java:8: 需要 ';'
		while(s.hasNext()){
		                   ^
0_0_2949074_24277\Main.java:9: 需要 <标识符>
			BigDecimal a=new BigDecimal(s.next()),b=new BigDecimal(s.next());
			            ^
0_0_2949074_24277\Main.java:10: 非法的类型开始
			if(a.compareTo(b)==0)System.out.println("YES");
			^
0_0_2949074_24277\Main.java:10: 需要 <标识符>
			if(a.compareTo(b)==0)System.out.println("YES");
			              ^
0_0_2949074_24277\Main.java:10: 需要 ';'
			if(a.compareTo(b)==0)System.out.println("YES");
			               ^
0_0_2949074_24277\Main.java:10: 非法的类型开始
			if(a.compareTo(b)==0)System.out.println("YES");
			                ^
0_0_2949074_24277\Main.java:10: 需要 <标识符>
			if(a.compareTo(b)==0)System.out.println("YES");
			                 ^
0_0_2949074_24277\Main.java:10: 需要 ';'
			if(a.compareTo(b)==0)System.out.println("YES");
			                   ^
0_0_2949074_24277\Main.java:10: 非法的类型开始
			if(a.compareTo(b)==0)System.out.println("YES");
			                    ^
0_0_2949074_24277\Main.java:10: 需要 ';'
			if(a.compareTo(b)==0)System.out.println("YES");
			                           ^
0_0_2949074_24277\Main.java:10: 需要 <标识符>
			if(a.compareTo(b)==0)System.out.println("YES");
			                                       ^
0_0_2949074_24277\Main.java:10: 非法的类型开始
			if(a.compareTo(b)==0)System.out.println("YES");
			                                        ^
0_0_2949074_24277\Main.java:11: 非法的类型开始
			else System.out.println("NO");
			^
0_0_2949074_24277\Main.java:11: 需要 ';'
			else System.out.println("NO");
			    ^
0_0_2949074_24277\Main.java:11: 非法的类型开始
			else System.out.println("NO");
			           ^
0_0_2949074_24277\Main.java:11: 需要 ';'
			else System.out.println("NO");
			               ^
0_0_2949074_24277\Main.java:11: 方法声明无效;需要返回类型
			else System.out.println("NO");
			                ^
0_0_2949074_24277\Main.java:11: 非法的类型开始
			else System.out.println("NO");
			                        ^
0_0_2949074_24277\Main.java:13: 需要为 class、interface 或 enum
    }
    ^
33 错误


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-12-02 13:32:17, Gzip enabled