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_37896035_1589\Main.java:27: 错误: 不兼容的类型: int[][][]无法转换为int[][][][]
    private static final int[][][][] dp = new int[N][N][ST];
                                          ^
0_0_37896035_1589\Main.java:33: 错误: 不兼容的类型: int无法转换为int[]
                        dp[i][j][st] = Integer.MAX_VALUE;
                                              ^
0_0_37896035_1589\Main.java:222: 错误: 不兼容的类型: int无法转换为int[]
        dp[x][y][0] = 0;
                      ^
0_0_37896035_1589\Main.java:266: 错误: 二元运算符 '<' 的操作数类型错误
                if (nStep < dp[nx][ny][nSt]) {
                          ^
  第一个类型:  int
  第二个类型: int[]
0_0_37896035_1589\Main.java:267: 错误: 不兼容的类型: int无法转换为int[]
                    dp[nx][ny][nSt] = nStep;
                                      ^
0_0_37896035_1589\Main.java:272: 错误: 不兼容的类型: int[]无法转换为int
                int nowMinDis = dp[nx][ny][nSt];
                                          ^
6 个错误


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-23 09:36:44, Gzip enabled