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_33303864_126\Main.java:1: 错误: 非法字符: '#'
 #include <iostream>
 ^
0_0_33303864_126\Main.java:1: 错误: 需要class, interface或enum
 #include <iostream>
          ^
0_0_33303864_126\Main.java:2: 错误: 非法字符: '#'
 #define SIZE 64
 ^
0_0_33303864_126\Main.java:4: 错误: 需要class, interface或enum
 constint dx[] = {-1,0,1,0};
 ^
0_0_33303864_126\Main.java:5: 错误: 需要class, interface或enum
 constint dy[] = {0,1,0,-1};
 ^
0_0_33303864_126\Main.java:6: 错误: 需要class, interface或enum
 constint stepx[] = {0,-1,-1,0,1,1};
 ^
0_0_33303864_126\Main.java:7: 错误: 需要class, interface或enum
 constint stepy[] = {-2,-1,1,2,1,-1};
 ^
0_0_33303864_126\Main.java:8: 错误: 需要class, interface或enum
 int hi,wi;
 ^
0_0_33303864_126\Main.java:9: 错误: 需要class, interface或enum
 char puzzle[SIZE][SIZE];
 ^
0_0_33303864_126\Main.java:10: 错误: 需要class, interface或enum
 bool vis[SIZE][SIZE];
 ^
0_0_33303864_126\Main.java:11: 错误: 需要class, interface或enum
 bool legal(int x,int y)
 ^
0_0_33303864_126\Main.java:14: 错误: 需要class, interface或enum
 }
 ^
0_0_33303864_126\Main.java:17: 错误: 需要class, interface或enum
 for (int i =0;i < hi;i++)
               ^
0_0_33303864_126\Main.java:17: 错误: 需要class, interface或enum
 for (int i =0;i < hi;i++)
                      ^
0_0_33303864_126\Main.java:18: 错误: 需要class, interface或enum
 for (int j =0;j < wi;j++)
               ^
0_0_33303864_126\Main.java:18: 错误: 需要class, interface或enum
 for (int j =0;j < wi;j++)
                      ^
0_0_33303864_126\Main.java:22: 错误: 需要class, interface或enum
 for (int k =0;k <4;k++)
 ^
0_0_33303864_126\Main.java:22: 错误: 需要class, interface或enum
 for (int k =0;k <4;k++)
               ^
0_0_33303864_126\Main.java:22: 错误: 需要class, interface或enum
 for (int k =0;k <4;k++)
                    ^
0_0_33303864_126\Main.java:25: 错误: 需要class, interface或enum
 int ny = j + dy[k];
 ^
0_0_33303864_126\Main.java:26: 错误: 需要class, interface或enum
 if (legal(nx,ny) && (((k ==0|| k ==2) && puzzle[nx][ny] =='|') || ((k ==1|| k ==3) && puzzle[nx][ny] =='-')))
 ^
0_0_33303864_126\Main.java:28: 错误: 需要class, interface或enum
 }
 ^
0_0_33303864_126\Main.java:31: 错误: 需要class, interface或enum
 }
 ^
0_0_33303864_126\Main.java:33: 错误: 需要class, interface或enum
 }
 ^
0_0_33303864_126\Main.java:36: 错误: 需要class, interface或enum
 for (int i =0;i < hi;i++)
               ^
0_0_33303864_126\Main.java:36: 错误: 需要class, interface或enum
 for (int i =0;i < hi;i++)
                      ^
0_0_33303864_126\Main.java:37: 错误: 需要class, interface或enum
 for (int j =0;j < wi;j++)
               ^
0_0_33303864_126\Main.java:37: 错误: 需要class, interface或enum
 for (int j =0;j < wi;j++)
                      ^
0_0_33303864_126\Main.java:41: 错误: 需要class, interface或enum
 for (int k =0;k <4;k++)
 ^
0_0_33303864_126\Main.java:41: 错误: 需要class, interface或enum
 for (int k =0;k <4;k++)
               ^
0_0_33303864_126\Main.java:41: 错误: 需要class, interface或enum
 for (int k =0;k <4;k++)
                    ^
0_0_33303864_126\Main.java:44: 错误: 需要class, interface或enum
 int ny = j + dy[k];
 ^
0_0_33303864_126\Main.java:45: 错误: 需要class, interface或enum
 if (legal(nx,ny) && (((k ==0|| k ==2) && puzzle[nx][ny] =='-') || ((k ==1|| k ==3) && puzzle[nx][ny] =='|')))
 ^
0_0_33303864_126\Main.java:47: 错误: 需要class, interface或enum
 }
 ^
0_0_33303864_126\Main.java:50: 错误: 需要class, interface或enum
 }
 ^
0_0_33303864_126\Main.java:52: 错误: 需要class, interface或enum
 }
 ^
0_0_33303864_126\Main.java:56: 错误: 需要class, interface或enum
 for (int i =0;i <6;i++)
 ^
0_0_33303864_126\Main.java:56: 错误: 需要class, interface或enum
 for (int i =0;i <6;i++)
               ^
0_0_33303864_126\Main.java:56: 错误: 需要class, interface或enum
 for (int i =0;i <6;i++)
                    ^
0_0_33303864_126\Main.java:61: 错误: 需要class, interface或enum
 int ny = y + stepy[i];
 ^
0_0_33303864_126\Main.java:62: 错误: 需要class, interface或enum
 if (legal(nx,ny) &&!vis[nx][ny] && (puzzle[nx][ny] =='-'|| puzzle[nx][ny] =='|'))
 ^
0_0_33303864_126\Main.java:64: 错误: 需要class, interface或enum
 }
 ^
0_0_33303864_126\Main.java:68: 错误: 需要class, interface或enum
 int ny = y + stepx[i];
 ^
0_0_33303864_126\Main.java:69: 错误: 需要class, interface或enum
 if (legal(nx,ny) &&!vis[nx][ny] && (puzzle[nx][ny] =='-'|| puzzle[nx][ny] =='|'))
 ^
0_0_33303864_126\Main.java:71: 错误: 需要class, interface或enum
 }
 ^
0_0_33303864_126\Main.java:77: 错误: 需要class, interface或enum
 memset(vis,false,sizeof(vis));
 ^
0_0_33303864_126\Main.java:78: 错误: 需要class, interface或enum
 for (int i =0;i < hi && ok;i++)
 ^
0_0_33303864_126\Main.java:78: 错误: 需要class, interface或enum
 for (int i =0;i < hi && ok;i++)
               ^
0_0_33303864_126\Main.java:78: 错误: 需要class, interface或enum
 for (int i =0;i < hi && ok;i++)
                            ^
0_0_33303864_126\Main.java:79: 错误: 需要class, interface或enum
 for (int j =0;j < wi && ok;j++)
               ^
0_0_33303864_126\Main.java:79: 错误: 需要class, interface或enum
 for (int j =0;j < wi && ok;j++)
                            ^
0_0_33303864_126\Main.java:83: 错误: 需要class, interface或enum
 ok =false;
 ^
0_0_33303864_126\Main.java:84: 错误: 需要class, interface或enum
 }
 ^
0_0_33303864_126\Main.java:86: 错误: 需要class, interface或enum
 for (int i =0;i < hi;i++)
 ^
0_0_33303864_126\Main.java:86: 错误: 需要class, interface或enum
 for (int i =0;i < hi;i++)
               ^
0_0_33303864_126\Main.java:86: 错误: 需要class, interface或enum
 for (int i =0;i < hi;i++)
                      ^
0_0_33303864_126\Main.java:87: 错误: 需要class, interface或enum
 for (int j =0;j < wi;j++)
               ^
0_0_33303864_126\Main.java:87: 错误: 需要class, interface或enum
 for (int j =0;j < wi;j++)
                      ^
0_0_33303864_126\Main.java:90: 错误: 需要class, interface或enum
 returntrue;
 ^
0_0_33303864_126\Main.java:91: 错误: 需要class, interface或enum
 }
 ^
0_0_33303864_126\Main.java:95: 错误: 需要class, interface或enum
 scanf("%d",&cas);
 ^
0_0_33303864_126\Main.java:96: 错误: 需要class, interface或enum
 while (cas--)
 ^
0_0_33303864_126\Main.java:99: 错误: 需要class, interface或enum
 hi = hi *2+1;
 ^
0_0_33303864_126\Main.java:100: 错误: 需要class, interface或enum
 wi = wi *2+1;
 ^
0_0_33303864_126\Main.java:101: 错误: 需要class, interface或enum
 for (int i =0;i < hi;i++)
 ^
0_0_33303864_126\Main.java:101: 错误: 需要class, interface或enum
 for (int i =0;i < hi;i++)
               ^
0_0_33303864_126\Main.java:101: 错误: 需要class, interface或enum
 for (int i =0;i < hi;i++)
                      ^
0_0_33303864_126\Main.java:103: 错误: 需要class, interface或enum
 if (checkDeg() && checkNum() && checkConn()) printf("VALID\n");
 ^
0_0_33303864_126\Main.java:104: 错误: 需要class, interface或enum
 else printf("INVALID\n");
 ^
0_0_33303864_126\Main.java:105: 错误: 需要class, interface或enum
 }
 ^
0_0_33303864_126\Main.java:107: 错误: 需要class, interface或enum
 }
 ^
71 个错误


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-23 03:35:30, Gzip enabled