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_36665070_7231\Main.java:11: 错误: 需要';'
            int[] A = new int[n]
                                ^
0_0_36665070_7231\Main.java:16: 错误: 需要')'
            if(max >= n - k){System.out.println("A is a magic array.";)}
                                                                     ^
0_0_36665070_7231\Main.java:16: 错误: 非法的表达式开始
            if(max >= n - k){System.out.println("A is a magic array.";)}
                                                                      ^
0_0_36665070_7231\Main.java:17: 错误: 需要')'
            else{System.out.println("A is not a magic array.";)}
                                                             ^
0_0_36665070_7231\Main.java:17: 错误: 非法的表达式开始
            else{System.out.println("A is not a magic array.";)}
                                                              ^
5 个错误


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-09-28 17:32:42, Gzip enabled