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_37442426_13914.cpp: In function 'void back(int, int, int)':
0_0_37442426_13914.cpp:5:10: error: 'a' was not declared in this scope
     if (!a[row][col].equals(".")) {
          ^
0_0_37442426_13914.cpp:7:21: error: 'Integer' was not declared in this scope
         killTime += Integer.valueOf(a[row][col]);
                     ^
0_0_37442426_13914.cpp:11:16: error: 'width' was not declared in this scope
     if (col == width - 1 && row == height - 1) {
                ^
0_0_37442426_13914.cpp:11:36: error: 'height' was not declared in this scope
     if (col == width - 1 && row == height - 1) {
                                    ^
0_0_37442426_13914.cpp:13:9: error: 'min' was not declared in this scope
         min = Math.min(min, killTime + time);
         ^
0_0_37442426_13914.cpp:13:15: error: 'Math' was not declared in this scope
         min = Math.min(min, killTime + time);
               ^
0_0_37442426_13914.cpp:26:42: error: 'isAccessable' was not declared in this scope
                 if (isAccessable(aim, col)) {
                                          ^
0_0_37442426_13914.cpp:28:21: error: 'isAccessed' was not declared in this scope
                     isAccessed[aim][col] = true;
                     ^
0_0_37442426_13914.cpp:37:18: error: jump to case label [-fpermissive]
             case 1:
                  ^
0_0_37442426_13914.cpp:25:21: error:   crosses initialization of 'int aim'
                 int aim = row + 1;
                     ^
0_0_37442426_13914.cpp:40:43: error: 'isAccessable' was not declared in this scope
                 if (isAccessable(aim2, col)) {
                                           ^
0_0_37442426_13914.cpp:42:21: error: 'isAccessed' was not declared in this scope
                     isAccessed[aim2][col] = true;
                     ^
0_0_37442426_13914.cpp:51:18: error: jump to case label [-fpermissive]
             case 2:
                  ^
0_0_37442426_13914.cpp:39:21: error:   crosses initialization of 'int aim2'
                 int aim2 = row - 1;
                     ^
0_0_37442426_13914.cpp:25:21: error:   crosses initialization of 'int aim'
                 int aim = row + 1;
                     ^
0_0_37442426_13914.cpp:54:43: error: 'isAccessable' was not declared in this scope
                 if (isAccessable(row, aim3)) {
                                           ^
0_0_37442426_13914.cpp:56:21: error: 'isAccessed' was not declared in this scope
                     isAccessed[row][aim3] = true;
                     ^
0_0_37442426_13914.cpp:65:18: error: jump to case label [-fpermissive]
             case 3:
                  ^
0_0_37442426_13914.cpp:53:21: error:   crosses initialization of 'int aim3'
                 int aim3 = col + 1;
                     ^
0_0_37442426_13914.cpp:39:21: error:   crosses initialization of 'int aim2'
                 int aim2 = row - 1;
                     ^
0_0_37442426_13914.cpp:25:21: error:   crosses initialization of 'int aim'
                 int aim = row + 1;
                     ^
0_0_37442426_13914.cpp:68:43: error: 'isAccessable' was not declared in this scope
                 if (isAccessable(row, aim4)) {
                                           ^
0_0_37442426_13914.cpp:70:21: error: 'isAccessed' was not declared in this scope
                     isAccessed[row][aim4] = true;
                     ^


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-10-05 07:21:08, Gzip enabled