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_10237555_22639\Main.java:72: 需要为 class、interface 或 enum
      public static void main( String arg[] )
                    ^
0_0_10237555_22639\Main.java:76: 需要为 class、interface 或 enum
    	   while( tab.hasNextInt() )
    	   ^
0_0_10237555_22639\Main.java:79: 需要为 class、interface 或 enum
    	        M = tab.nextInt();
    	        ^
0_0_10237555_22639\Main.java:80: 需要为 class、interface 或 enum
                total = 0; 
                ^
0_0_10237555_22639\Main.java:81: 需要为 class、interface 或 enum
                for( int i = 0; i <= 200; i++ )head[i] = -1;
                ^
0_0_10237555_22639\Main.java:81: 需要为 class、interface 或 enum
                for( int i = 0; i <= 200; i++ )head[i] = -1;
                                ^
0_0_10237555_22639\Main.java:81: 需要为 class、interface 或 enum
                for( int i = 0; i <= 200; i++ )head[i] = -1;
                                          ^
0_0_10237555_22639\Main.java:82: 需要为 class、interface 或 enum
                for( int i = 0; i <= 200; i++ )vis[i] = false;
                ^
0_0_10237555_22639\Main.java:82: 需要为 class、interface 或 enum
                for( int i = 0; i <= 200; i++ )vis[i] = false;
                                ^
0_0_10237555_22639\Main.java:82: 需要为 class、interface 或 enum
                for( int i = 0; i <= 200; i++ )vis[i] = false;
                                          ^
0_0_10237555_22639\Main.java:83: 需要为 class、interface 或 enum
                for( int i = 0; i <= 200; i++ )dis[i] = (1<<30);
                ^
0_0_10237555_22639\Main.java:83: 需要为 class、interface 或 enum
                for( int i = 0; i <= 200; i++ )dis[i] = (1<<30);
                                ^
0_0_10237555_22639\Main.java:83: 需要为 class、interface 或 enum
                for( int i = 0; i <= 200; i++ )dis[i] = (1<<30);
                                          ^
0_0_10237555_22639\Main.java:85: 需要为 class、interface 或 enum
                for( int i = 1; i <= M; i++ )
                ^
0_0_10237555_22639\Main.java:85: 需要为 class、interface 或 enum
                for( int i = 1; i <= M; i++ )
                                ^
0_0_10237555_22639\Main.java:85: 需要为 class、interface 或 enum
                for( int i = 1; i <= M; i++ )
                                        ^
0_0_10237555_22639\Main.java:88: 需要为 class、interface 或 enum
        	        int v = tab.nextInt();
        	        ^
0_0_10237555_22639\Main.java:89: 需要为 class、interface 或 enum
        	        int val = tab.nextInt();
        	        ^
0_0_10237555_22639\Main.java:90: 需要为 class、interface 或 enum
        	        add( u,v,val );
        	        ^
0_0_10237555_22639\Main.java:91: 需要为 class、interface 或 enum
        	        add( v,u,val );
        	        ^
0_0_10237555_22639\Main.java:92: 需要为 class、interface 或 enum
                }
                ^
0_0_10237555_22639\Main.java:94: 需要为 class、interface 或 enum
        	      End = tab.nextInt();
        	      ^
0_0_10237555_22639\Main.java:95: 需要为 class、interface 或 enum
        	      if( Sta == End ){System.out.println("0");continue;}
        	      ^
0_0_10237555_22639\Main.java:95: 需要为 class、interface 或 enum
        	      if( Sta == End ){System.out.println("0");continue;}
        	                                               ^
0_0_10237555_22639\Main.java:95: 需要为 class、interface 或 enum
        	      if( Sta == End ){System.out.println("0");continue;}
        	                                                        ^
0_0_10237555_22639\Main.java:97: 需要为 class、interface 或 enum
        	      if( dis[End] != (1<<30) )
        	      ^
0_0_10237555_22639\Main.java:99: 需要为 class、interface 或 enum
        	      else System.out.println("-1");
        	      ^
0_0_10237555_22639\Main.java:100: 需要为 class、interface 或 enum
    	   }  
    	   ^
28 错误


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-30 06:49:57, Gzip enabled