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_29098782_5131\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_29098782_5131\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_29098782_5131\Main.java:5: 错误: 需要class, interface或enum
int maps[55][55][55];
^
0_0_29098782_5131\Main.java:6: 错误: 需要class, interface或enum
int book[55][55][55];
^
0_0_29098782_5131\Main.java:7: 错误: 需要class, interface或enum
int A,B,C,T,K;
^
0_0_29098782_5131\Main.java:8: 错误: 需要class, interface或enum
struct node
^
0_0_29098782_5131\Main.java:11: 错误: 需要class, interface或enum
    int y;
    ^
0_0_29098782_5131\Main.java:12: 错误: 需要class, interface或enum
    int z;
    ^
0_0_29098782_5131\Main.java:13: 错误: 需要class, interface或enum
    int step;
    ^
0_0_29098782_5131\Main.java:14: 错误: 需要class, interface或enum
};
^
0_0_29098782_5131\Main.java:15: 错误: 需要class, interface或enum
int next_step[6][3] =  {1,0,0, -1,0,0, 0,0,1, 0,1,0, 0,0,-1, 0,-1,0};
^
0_0_29098782_5131\Main.java:17: 错误: 需要class, interface或enum
int BFS(int x, int y, int z, int step)
^
0_0_29098782_5131\Main.java:20: 错误: 需要class, interface或enum
    node t;
    ^
0_0_29098782_5131\Main.java:21: 错误: 需要class, interface或enum
    t.x = t.y = t.z = t.step = 0;
    ^
0_0_29098782_5131\Main.java:22: 错误: 需要class, interface或enum
    q.push(t);
    ^
0_0_29098782_5131\Main.java:23: 错误: 需要class, interface或enum
    while(!q.empty())
    ^
0_0_29098782_5131\Main.java:26: 错误: 需要class, interface或enum
        q.pop();
        ^
0_0_29098782_5131\Main.java:27: 错误: 需要class, interface或enum
        for (int i = 0; i < 6; i++)
        ^
0_0_29098782_5131\Main.java:27: 错误: 需要class, interface或enum
        for (int i = 0; i < 6; i++)
                        ^
0_0_29098782_5131\Main.java:27: 错误: 需要class, interface或enum
        for (int i = 0; i < 6; i++)
                               ^
0_0_29098782_5131\Main.java:30: 错误: 需要class, interface或enum
            int tx = next_step[i][0] + t.x;
            ^
0_0_29098782_5131\Main.java:31: 错误: 需要class, interface或enum
            int ty = next_step[i][1] + t.y;
            ^
0_0_29098782_5131\Main.java:32: 错误: 需要class, interface或enum
            int tz = next_step[i][2] + t.z;
            ^
0_0_29098782_5131\Main.java:33: 错误: 需要class, interface或enum
            next.x = tx,next.y = ty,next.z = tz;
            ^
0_0_29098782_5131\Main.java:34: 错误: 需要class, interface或enum
            next.step = t.step + 1;
            ^
0_0_29098782_5131\Main.java:35: 错误: 需要class, interface或enum
            if(!maps[tx][ty][tz]&&tx>=0&&tx<A&&ty<B&&ty>=0&&tz>=0&&tz<C&&!book[tx][ty][tz])
            ^
0_0_29098782_5131\Main.java:39: 错误: 需要class, interface或enum
                if (next.step > T)   return -1;
                ^
0_0_29098782_5131\Main.java:40: 错误: 需要class, interface或enum
                else if (tx == A-1 && ty == B-1 && tz == C-1)
                ^
0_0_29098782_5131\Main.java:43: 错误: 需要class, interface或enum
                    return 1;
                    ^
0_0_29098782_5131\Main.java:44: 错误: 需要class, interface或enum
                }
                ^
0_0_29098782_5131\Main.java:46: 错误: 需要class, interface或enum
            }
            ^
0_0_29098782_5131\Main.java:51: 错误: 需要class, interface或enum
}
^
0_0_29098782_5131\Main.java:55: 错误: 需要class, interface或enum
    getchar();
    ^
0_0_29098782_5131\Main.java:56: 错误: 需要class, interface或enum
    while(K--)
    ^
0_0_29098782_5131\Main.java:59: 错误: 需要class, interface或enum
        scanf("%d %d %d %d",&A,&B,&C,&T);
        ^
0_0_29098782_5131\Main.java:60: 错误: 需要class, interface或enum
        for (int i = 0; i < A; i++)
        ^
0_0_29098782_5131\Main.java:60: 错误: 需要class, interface或enum
        for (int i = 0; i < A; i++)
                        ^
0_0_29098782_5131\Main.java:60: 错误: 需要class, interface或enum
        for (int i = 0; i < A; i++)
                               ^
0_0_29098782_5131\Main.java:62: 错误: 需要class, interface或enum
            for (int j = 0; j < B; j++)
                            ^
0_0_29098782_5131\Main.java:62: 错误: 需要class, interface或enum
            for (int j = 0; j < B; j++)
                                   ^
0_0_29098782_5131\Main.java:64: 错误: 需要class, interface或enum
                for (int k = 0; k < C; k++)
                                ^
0_0_29098782_5131\Main.java:64: 错误: 需要class, interface或enum
                for (int k = 0; k < C; k++)
                                       ^
0_0_29098782_5131\Main.java:67: 错误: 需要class, interface或enum
                }
                ^
0_0_29098782_5131\Main.java:71: 错误: 需要class, interface或enum
        if (BFS(0,0,0,0) == -1) cout << -1 << endl;
        ^
0_0_29098782_5131\Main.java:72: 错误: 需要class, interface或enum
    }
    ^
0_0_29098782_5131\Main.java:74: 错误: 需要class, interface或enum
}
^
46 个错误


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-18 15:24:34, Gzip enabled