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_6106589_18061\Main.java:1: class, interface, or enum expected
2. #include<stdio.h>  
^
0_0_6106589_18061\Main.java:1: illegal character: \35
2. #include<stdio.h>  
   ^
0_0_6106589_18061\Main.java:3: illegal character: \35
3. #include<memory.h>  
   ^
0_0_6106589_18061\Main.java:7: class, interface, or enum expected
5. void BFS();  
^
0_0_6106589_18061\Main.java:9: class, interface, or enum expected
6. char map[MAXN][MAXN];  
^
0_0_6106589_18061\Main.java:11: class, interface, or enum expected
7. int vis[MAXN][MAXN][2],q[MAXN*MAXN],x1,y1,x2,y2,m,n,  
^
0_0_6106589_18061\Main.java:15: class, interface, or enum expected
9. int main()  
^
0_0_6106589_18061\Main.java:23: class, interface, or enum expected
13.     scanf("%d",&t);  
^
0_0_6106589_18061\Main.java:25: class, interface, or enum expected
14.     while(t--)  
^
0_0_6106589_18061\Main.java:31: class, interface, or enum expected
17.   
^
0_0_6106589_18061\Main.java:35: class, interface, or enum expected
19.         for(i=0;i<m;i++)  
^
0_0_6106589_18061\Main.java:35: class, interface, or enum expected
19.         for(i=0;i<m;i++)  
                    ^
0_0_6106589_18061\Main.java:35: class, interface, or enum expected
19.         for(i=0;i<m;i++)  
                        ^
0_0_6106589_18061\Main.java:39: class, interface, or enum expected
21.         scanf("%d%d%d%d%d",&k,&y1,&x1,&y2,&x2);  
^
0_0_6106589_18061\Main.java:41: class, interface, or enum expected
22.   
^
0_0_6106589_18061\Main.java:45: class, interface, or enum expected
24.         BFS();  
^
0_0_6106589_18061\Main.java:47: class, interface, or enum expected
25.         vis[x1][y1][1]=0;  
^
0_0_6106589_18061\Main.java:49: class, interface, or enum expected
26.   
^
0_0_6106589_18061\Main.java:53: class, interface, or enum expected
28.     }  
^
0_0_6106589_18061\Main.java:57: class, interface, or enum expected
30. }  
^
0_0_6106589_18061\Main.java:67: class, interface, or enum expected
35.     q[rear++]=x1*n+y1;  
^
0_0_6106589_18061\Main.java:69: class, interface, or enum expected
36.     vis[x1][y1][0]=1,vis[x1][y1][1]=-1;  
^
0_0_6106589_18061\Main.java:71: class, interface, or enum expected
37.     while(front<rear)  
^
0_0_6106589_18061\Main.java:77: class, interface, or enum expected
40.         x=u/n,y=u%n;  
^
0_0_6106589_18061\Main.java:79: class, interface, or enum expected
41.         dir=vis[x][y][0]%2;  
^
0_0_6106589_18061\Main.java:81: class, interface, or enum expected
42.         for(i=0;i<4;i++){  //改变方向  
^
0_0_6106589_18061\Main.java:81: class, interface, or enum expected
42.         for(i=0;i<4;i++){  //改变方向  
                    ^
0_0_6106589_18061\Main.java:81: class, interface, or enum expected
42.         for(i=0;i<4;i++){  //改变方向  
                        ^
0_0_6106589_18061\Main.java:87: class, interface, or enum expected
45.                 nx>=0&&nx<m && ny>=0&&ny<n && map[nx][ny]!='*';  
^
0_0_6106589_18061\Main.java:89: class, interface, or enum expected
46.                 nx+=dx[i],ny+=dy[i]){  
^
0_0_6106589_18061\Main.java:95: class, interface, or enum expected
49.                         if(x==x1 && y==y1 && (i==0||i==2) ) vis[nx][ny][0]=1;  
^
0_0_6106589_18061\Main.java:97: class, interface, or enum expected
50.                         else vis[nx][ny][0]=dir+1;  
^
0_0_6106589_18061\Main.java:99: class, interface, or enum expected
51.                         vis[nx][ny][1]=min;  
^
0_0_6106589_18061\Main.java:101: class, interface, or enum expected
52.                     }  
^
34 errors


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-25 06:59:06, Gzip enabled