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_34522346_11209\Main.java:9: 错误: 需要']'
	    	   int a[]=new int[n 1];//元素值
	    	                    ^
0_0_34522346_11209\Main.java:9: 错误: 非法的表达式开始
	    	   int a[]=new int[n 1];//元素值
	    	                      ^
0_0_34522346_11209\Main.java:10: 错误: 需要']'
	    	    int dp[][]=new int[2][n 1];
	    	                           ^
0_0_34522346_11209\Main.java:10: 错误: 非法的表达式开始
	    	    int dp[][]=new int[2][n 1];
	    	                             ^
0_0_34522346_11209\Main.java:11: 错误: 需要']'
	    	    int value[]=new int[n 1];
	    	                         ^
0_0_34522346_11209\Main.java:11: 错误: 非法的表达式开始
	    	    int value[]=new int[n 1];
	    	                           ^
0_0_34522346_11209\Main.java:13: 错误: 需要';'
	    	   for(int i=1;ii)
	    	                 ^
0_0_34522346_11209\Main.java:15: 错误: 需要')'
	    				   value[j]=max(dp[(i-1)%2][j-1] a[j],value[j-1] a[j]);//
	    				                                ^
0_0_34522346_11209\Main.java:15: 错误: 非法的表达式开始
	    				   value[j]=max(dp[(i-1)%2][j-1] a[j],value[j-1] a[j]);//
	    				                                  ^
0_0_34522346_11209\Main.java:15: 错误: 需要';'
	    				   value[j]=max(dp[(i-1)%2][j-1] a[j],value[j-1] a[j]);//
	    				                                    ^
0_0_34522346_11209\Main.java:15: 错误: 不是语句
	    				   value[j]=max(dp[(i-1)%2][j-1] a[j],value[j-1] a[j]);//
	    				                                           ^
0_0_34522346_11209\Main.java:15: 错误: 需要';'
	    				   value[j]=max(dp[(i-1)%2][j-1] a[j],value[j-1] a[j]);//
	    				                                                ^
0_0_34522346_11209\Main.java:15: 错误: 不是语句
	    				   value[j]=max(dp[(i-1)%2][j-1] a[j],value[j-1] a[j]);//
	    				                                                  ^
0_0_34522346_11209\Main.java:15: 错误: 需要';'
	    				   value[j]=max(dp[(i-1)%2][j-1] a[j],value[j-1] a[j]);//
	    				                                                     ^
0_0_34522346_11209\Main.java:20: 错误: 需要<标识符>
	    	   System.out.println(dp[m%2][n]);
	    	                     ^
0_0_34522346_11209\Main.java:20: 错误: 需要']'
	    	   System.out.println(dp[m%2][n]);
	    	                         ^
0_0_34522346_11209\Main.java:20: 错误: 需要')'
	    	   System.out.println(dp[m%2][n]);
	    	                          ^
0_0_34522346_11209\Main.java:20: 错误: 非法的类型开始
	    	   System.out.println(dp[m%2][n]);
	    	                           ^
0_0_34522346_11209\Main.java:20: 错误: 需要<标识符>
	    	   System.out.println(dp[m%2][n]);
	    	                            ^
0_0_34522346_11209\Main.java:20: 错误: 需要']'
	    	   System.out.println(dp[m%2][n]);
	    	                              ^
0_0_34522346_11209\Main.java:20: 错误: 非法的类型开始
	    	   System.out.println(dp[m%2][n]);
	    	                               ^
0_0_34522346_11209\Main.java:20: 错误: 需要<标识符>
	    	   System.out.println(dp[m%2][n]);
	    	                                ^
0_0_34522346_11209\Main.java:22: 错误: 需要class, interface或enum
		}
		^
0_0_34522346_11209\Main.java:25: 错误: 需要class, interface或enum
		}
		^
24 个错误


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-29 06:04:55, Gzip enabled