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_34641138_2614\Main.java:1: 错误: 非法字符: '#'
#define LOCAL
^
0_0_34641138_2614\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_34641138_2614\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_34641138_2614\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_34641138_2614\Main.java:5: 错误: 非法字符: '#'
#include <iostream>
^
0_0_34641138_2614\Main.java:6: 错误: 非法字符: '#'
#include <stack>
^
0_0_34641138_2614\Main.java:7: 错误: 非法字符: '#'
#include <queue>
^
0_0_34641138_2614\Main.java:10: 错误: 需要class, interface或enum
struct state{
^
0_0_34641138_2614\Main.java:12: 错误: 需要class, interface或enum
    bool operator < (const state& other)const{return t>other.t;}
    ^
0_0_34641138_2614\Main.java:12: 错误: 需要class, interface或enum
    bool operator < (const state& other)const{return t>other.t;}
                                                               ^
0_0_34641138_2614\Main.java:15: 错误: 需要class, interface或enum
priority_queue<state> PQ;
^
0_0_34641138_2614\Main.java:16: 错误: 需要class, interface或enum
stack<state> path;
^
0_0_34641138_2614\Main.java:17: 错误: 需要class, interface或enum
char maze[100][100];
^
0_0_34641138_2614\Main.java:18: 错误: 需要class, interface或enum
int vis[111][111];
^
0_0_34641138_2614\Main.java:19: 错误: 需要class, interface或enum
int dx,dy;
^
0_0_34641138_2614\Main.java:20: 错误: 需要class, interface或enum
int n,m;
^
0_0_34641138_2614\Main.java:21: 错误: 需要class, interface或enum
int min_t;
^
0_0_34641138_2614\Main.java:22: 错误: 需要class, interface或enum
bool exist;
^
0_0_34641138_2614\Main.java:25: 错误: 需要class, interface或enum
int go[][2]={
^
0_0_34641138_2614\Main.java:32: 错误: 需要class, interface或enum
void init(){
^
0_0_34641138_2614\Main.java:34: 错误: 需要class, interface或enum
    while(!PQ.empty()) PQ.pop();
    ^
0_0_34641138_2614\Main.java:35: 错误: 需要class, interface或enum
    while(!path.empty()) path.pop();
    ^
0_0_34641138_2614\Main.java:36: 错误: 需要class, interface或enum
    dx=n-1;dy=m-1;
    ^
0_0_34641138_2614\Main.java:36: 错误: 需要class, interface或enum
    dx=n-1;dy=m-1;
           ^
0_0_34641138_2614\Main.java:37: 错误: 需要class, interface或enum
    exist = false;
    ^
0_0_34641138_2614\Main.java:38: 错误: 需要class, interface或enum
}
^
0_0_34641138_2614\Main.java:43: 错误: 需要class, interface或enum
        state now = PQ.top();PQ.pop();
                             ^
0_0_34641138_2614\Main.java:44: 错误: 需要class, interface或enum
        if(now.x == dx && now.y == dy){
        ^
0_0_34641138_2614\Main.java:46: 错误: 需要class, interface或enum
            return 1;
            ^
0_0_34641138_2614\Main.java:47: 错误: 需要class, interface或enum
        }
        ^
0_0_34641138_2614\Main.java:48: 错误: 需要class, interface或enum
        for(int i=0;i<4;i++){
                    ^
0_0_34641138_2614\Main.java:48: 错误: 需要class, interface或enum
        for(int i=0;i<4;i++){
                        ^
0_0_34641138_2614\Main.java:50: 错误: 需要class, interface或enum
            int ny = now.y+go[i][1];
            ^
0_0_34641138_2614\Main.java:51: 错误: 需要class, interface或enum
            int nt = now.t+1;
            ^
0_0_34641138_2614\Main.java:53: 错误: 需要class, interface或enum
            if(nx <0 || nx>n-1 || ny<0 || ny>m-1) continue;
            ^
0_0_34641138_2614\Main.java:54: 错误: 需要class, interface或enum
            if(maze[nx][ny] == 'X') continue;
            ^
0_0_34641138_2614\Main.java:55: 错误: 需要class, interface或enum
            if(vis[nx][ny] == 1) continue;
            ^
0_0_34641138_2614\Main.java:57: 错误: 需要class, interface或enum
            if(maze[nx][ny]<='9' && maze[nx][ny]>='0')
            ^
0_0_34641138_2614\Main.java:60: 错误: 需要class, interface或enum
            vis[nx][ny] = 1;
            ^
0_0_34641138_2614\Main.java:61: 错误: 需要class, interface或enum
            state& next = node[nx][ny];
            ^
0_0_34641138_2614\Main.java:62: 错误: 需要class, interface或enum
            next.px = now.x;
            ^
0_0_34641138_2614\Main.java:63: 错误: 需要class, interface或enum
            next.py = now.y;
            ^
0_0_34641138_2614\Main.java:64: 错误: 需要class, interface或enum
            next.x = nx;
            ^
0_0_34641138_2614\Main.java:65: 错误: 需要class, interface或enum
            next.y = ny;
            ^
0_0_34641138_2614\Main.java:66: 错误: 需要class, interface或enum
            next.t = nt;
            ^
0_0_34641138_2614\Main.java:67: 错误: 需要class, interface或enum
            PQ.push(next);
            ^
0_0_34641138_2614\Main.java:68: 错误: 需要class, interface或enum
        }
        ^
0_0_34641138_2614\Main.java:71: 错误: 需要class, interface或enum
}
^
0_0_34641138_2614\Main.java:74: 错误: 非法字符: '#'
    #ifdef LOCAL
    ^
0_0_34641138_2614\Main.java:76: 错误: 需要class, interface或enum
    freopen("output.txt","w",stdout);
    ^
0_0_34641138_2614\Main.java:77: 错误: 非法字符: '#'
    #endif
    ^
0_0_34641138_2614\Main.java:78: 错误: 需要class, interface或enum
    while(cin>>n>>m){
    ^
0_0_34641138_2614\Main.java:80: 错误: 需要class, interface或enum
    	for(int i=0;i<n;i++)
    	^
0_0_34641138_2614\Main.java:80: 错误: 需要class, interface或enum
    	for(int i=0;i<n;i++)
    	            ^
0_0_34641138_2614\Main.java:80: 错误: 需要class, interface或enum
    	for(int i=0;i<n;i++)
    	                ^
0_0_34641138_2614\Main.java:82: 错误: 需要class, interface或enum
        state& start = node[0][0];
        ^
0_0_34641138_2614\Main.java:83: 错误: 需要class, interface或enum
        start.x = 0;
        ^
0_0_34641138_2614\Main.java:84: 错误: 需要class, interface或enum
        start.y = 0;
        ^
0_0_34641138_2614\Main.java:85: 错误: 需要class, interface或enum
        start.t = 0;
        ^
0_0_34641138_2614\Main.java:86: 错误: 需要class, interface或enum
        start.px = -1;
        ^
0_0_34641138_2614\Main.java:87: 错误: 需要class, interface或enum
        start.py = -1;
        ^
0_0_34641138_2614\Main.java:88: 错误: 需要class, interface或enum
        vis[0][0] = 1;
        ^
0_0_34641138_2614\Main.java:90: 错误: 需要class, interface或enum
        PQ.push(start);
        ^
0_0_34641138_2614\Main.java:91: 错误: 需要class, interface或enum
        int ans = bfs();
        ^
0_0_34641138_2614\Main.java:92: 错误: 需要class, interface或enum
        if(ans == 0){
        ^
0_0_34641138_2614\Main.java:94: 错误: 需要class, interface或enum
            continue;
            ^
0_0_34641138_2614\Main.java:95: 错误: 需要class, interface或enum
        }
        ^
0_0_34641138_2614\Main.java:97: 错误: 需要class, interface或enum
        state now = node[dx][dy];
        ^
0_0_34641138_2614\Main.java:98: 错误: 需要class, interface或enum
        while(now.px!= -1 && now.py!=-1){
        ^
0_0_34641138_2614\Main.java:100: 错误: 需要class, interface或enum
            now = node[now.px][now.py];
            ^
0_0_34641138_2614\Main.java:101: 错误: 需要class, interface或enum
        }
        ^
0_0_34641138_2614\Main.java:104: 错误: 需要class, interface或enum
        int time = 1;
        ^
0_0_34641138_2614\Main.java:105: 错误: 需要class, interface或enum
        while(!path.empty()){
        ^
0_0_34641138_2614\Main.java:106: 错误: 需要class, interface或enum
            state next = path.top();path.pop();
                                    ^
0_0_34641138_2614\Main.java:107: 错误: 需要class, interface或enum
            printf("%ds:(%d,%d)->(%d,%d)\n",time++,now.x,now.y,next.x,next.y);
            ^
0_0_34641138_2614\Main.java:108: 错误: 需要class, interface或enum
            if(maze[next.x][next.y]<='9' && maze[next.x][next.y]>='0'){
            ^
0_0_34641138_2614\Main.java:110: 错误: 需要class, interface或enum
                while(tmp--)
                ^
0_0_34641138_2614\Main.java:112: 错误: 需要class, interface或enum
            }
            ^
0_0_34641138_2614\Main.java:114: 错误: 需要class, interface或enum
        }
        ^
0_0_34641138_2614\Main.java:116: 错误: 需要class, interface或enum
    }
    ^
0_0_34641138_2614\Main.java:118: 错误: 需要class, interface或enum
}
^
81 个错误


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-12-02 14:14:09, Gzip enabled