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_15460211_5334\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_15460211_5334\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_15460211_5334\Main.java:2: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_15460211_5334\Main.java:3: 错误: 非法字符: '#'
#include <string.h>
^
0_0_15460211_5334\Main.java:5: 错误: 需要class, interface或enum
struct node {
^
0_0_15460211_5334\Main.java:7: 错误: 需要class, interface或enum
};
^
0_0_15460211_5334\Main.java:8: 错误: 需要class, interface或enum
int dir[4][2]={{-1,0},{0,-1},{0,1},{1,0}};
^
0_0_15460211_5334\Main.java:9: 错误: 需要class, interface或enum
node queue[1000000];
^
0_0_15460211_5334\Main.java:10: 错误: 需要class, interface或enum
node prime[2000];
^
0_0_15460211_5334\Main.java:11: 错误: 需要class, interface或enum
int visit[50][50],n,m;
^
0_0_15460211_5334\Main.java:12: 错误: 需要class, interface或enum
node qfront,temp;
^
0_0_15460211_5334\Main.java:13: 错误: 需要class, interface或enum
int map[50][50],minxx,startx,starty,endx,endy;
^
0_0_15460211_5334\Main.java:14: 错误: 需要class, interface或enum
int fmin(int a,int b){if(a<b)return a;return b;}
^
0_0_15460211_5334\Main.java:14: 错误: 需要class, interface或enum
int fmin(int a,int b){if(a<b)return a;return b;}
                                      ^
0_0_15460211_5334\Main.java:14: 错误: 需要class, interface或enum
int fmin(int a,int b){if(a<b)return a;return b;}
                                               ^
0_0_15460211_5334\Main.java:19: 错误: 需要class, interface或enum
    memset(visit,0,sizeof(visit));
    ^
0_0_15460211_5334\Main.java:20: 错误: 需要class, interface或enum
    visit[sx][sy]=1;
    ^
0_0_15460211_5334\Main.java:21: 错误: 需要class, interface或enum
    queue[s].x=sx,queue[s].y=sy,queue[s].step=0;
    ^
0_0_15460211_5334\Main.java:22: 错误: 需要class, interface或enum
    while(s<=e)
    ^
0_0_15460211_5334\Main.java:25: 错误: 需要class, interface或enum
        if(queue[s].step>=minxx)
        ^
0_0_15460211_5334\Main.java:27: 错误: 需要class, interface或enum
        for(i=0;i<4;i++)
        ^
0_0_15460211_5334\Main.java:27: 错误: 需要class, interface或enum
        for(i=0;i<4;i++)
                ^
0_0_15460211_5334\Main.java:27: 错误: 需要class, interface或enum
        for(i=0;i<4;i++)
                    ^
0_0_15460211_5334\Main.java:30: 错误: 需要class, interface或enum
            temp.y=qfront.y+dir[i][1];
            ^
0_0_15460211_5334\Main.java:31: 错误: 需要class, interface或enum
            if(map[temp.x][temp.y])
            ^
0_0_15460211_5334\Main.java:34: 错误: 需要class, interface或enum
            }
            ^
0_0_15460211_5334\Main.java:38: 错误: 需要class, interface或enum
                queue[e++]=temp;
                ^
0_0_15460211_5334\Main.java:39: 错误: 需要class, interface或enum
            }
            ^
0_0_15460211_5334\Main.java:43: 错误: 需要class, interface或enum
    }
    ^
0_0_15460211_5334\Main.java:45: 错误: 需要class, interface或enum
}
^
0_0_15460211_5334\Main.java:49: 错误: 需要class, interface或enum
    char c;
    ^
0_0_15460211_5334\Main.java:50: 错误: 需要class, interface或enum
    while(scanf("%d%d",&n,&m)!=EOF)
    ^
0_0_15460211_5334\Main.java:53: 错误: 需要class, interface或enum
        if(m==0&&n==0)
        ^
0_0_15460211_5334\Main.java:55: 错误: 需要class, interface或enum
        hnum=0;
        ^
0_0_15460211_5334\Main.java:56: 错误: 需要class, interface或enum
        for(i=0;i<n;i++)
        ^
0_0_15460211_5334\Main.java:56: 错误: 需要class, interface或enum
        for(i=0;i<n;i++)
                ^
0_0_15460211_5334\Main.java:56: 错误: 需要class, interface或enum
        for(i=0;i<n;i++)
                    ^
0_0_15460211_5334\Main.java:59: 错误: 需要class, interface或enum
            for(j=0;j<m;j++)
                    ^
0_0_15460211_5334\Main.java:59: 错误: 需要class, interface或enum
            for(j=0;j<m;j++)
                        ^
0_0_15460211_5334\Main.java:62: 错误: 需要class, interface或enum
                if(c=='H')
                ^
0_0_15460211_5334\Main.java:65: 错误: 需要class, interface或enum
                    prime[hnum].x=i;
                    ^
0_0_15460211_5334\Main.java:66: 错误: 需要class, interface或enum
                    prime[hnum].y=j;
                    ^
0_0_15460211_5334\Main.java:67: 错误: 需要class, interface或enum
                    hnum++;
                    ^
0_0_15460211_5334\Main.java:68: 错误: 需要class, interface或enum
                }
                ^
0_0_15460211_5334\Main.java:72: 错误: 需要class, interface或enum
                }
                ^
0_0_15460211_5334\Main.java:76: 错误: 需要class, interface或enum
                }
                ^
0_0_15460211_5334\Main.java:79: 错误: 需要class, interface或enum
        }
        ^
0_0_15460211_5334\Main.java:81: 错误: 需要class, interface或enum
            for(i=0;i<hnum;i++)
            ^
0_0_15460211_5334\Main.java:81: 错误: 需要class, interface或enum
            for(i=0;i<hnum;i++)
                    ^
0_0_15460211_5334\Main.java:81: 错误: 需要class, interface或enum
            for(i=0;i<hnum;i++)
                           ^
0_0_15460211_5334\Main.java:84: 错误: 需要class, interface或enum
                if(t<minxx)
                ^
0_0_15460211_5334\Main.java:87: 错误: 需要class, interface或enum
                    starty=prime[i].y;
                    ^
0_0_15460211_5334\Main.java:88: 错误: 需要class, interface或enum
                    minxx=t;
                    ^
0_0_15460211_5334\Main.java:89: 错误: 需要class, interface或enum
                    endx=temp.x;
                    ^
0_0_15460211_5334\Main.java:90: 错误: 需要class, interface或enum
                    endy=temp.y;
                    ^
0_0_15460211_5334\Main.java:91: 错误: 需要class, interface或enum
                }
                ^
0_0_15460211_5334\Main.java:97: 错误: 需要class, interface或enum
    }
    ^
0_0_15460211_5334\Main.java:99: 错误: 需要class, interface或enum
}
^
58 个错误


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-29 19:10:24, Gzip enabled