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_20989840_1398.cpp:11:13: error: stray '#' in program
         sum+=x%2;
             ^
0_0_20989840_1398.cpp:30:21: error: stray '#' in program
     for(i=0;i<num;i++)
                     ^
0_0_20989840_1398.cpp:30:26: error: stray '#' in program
     for(i=0;i<num;i++)
                          ^
0_0_20989840_1398.cpp:37:21: error: stray '#' in program
     for(i=0;i<num;i++)
                     ^
0_0_20989840_1398.cpp:37:26: error: stray '#' in program
     for(i=0;i<num;i++)
                          ^
0_0_20989840_1398.cpp:46:26: error: stray '#' in program
             if(check(x,y+1)&&map[x][y+1]=='#')
                          ^
0_0_20989840_1398.cpp:46:43: error: stray '#' in program
             if(check(x,y+1)&&map[x][y+1]=='#')
                                           ^
0_0_20989840_1398.cpp:48:26: error: stray '#' in program
             if(!vis[x][y+1])
                          ^
0_0_20989840_1398.cpp:49:22: error: stray '#' in program
             vis[x][y+1]=1;
                      ^
0_0_20989840_1398.cpp:54:21: error: stray '#' in program
     for(i=0;i<num;i++)
                     ^
0_0_20989840_1398.cpp:54:26: error: stray '#' in program
     for(i=0;i<num;i++)
                          ^
0_0_20989840_1398.cpp:65:35: error: stray '#' in program
     while(scanf("%d%d",&n,&m)&&(n+m))
                                   ^
0_0_20989840_1398.cpp:69:24: error: stray '#' in program
         for(i=1;i<=n;i++)
                        ^
0_0_20989840_1398.cpp:69:29: error: stray '#' in program
         for(i=1;i<=n;i++)
                             ^
0_0_20989840_1398.cpp:71:31: error: stray '#' in program
             scanf("%s",map[i]+1);
                               ^
0_0_20989840_1398.cpp:74:24: error: stray '#' in program
         for(i=1;i<=n;i++)
                        ^
0_0_20989840_1398.cpp:74:29: error: stray '#' in program
         for(i=1;i<=n;i++)
                             ^
0_0_20989840_1398.cpp:76:28: error: stray '#' in program
             for(j=1;j<=m;j++)
                            ^
0_0_20989840_1398.cpp:76:33: error: stray '#' in program
             for(j=1;j<=m;j++)
                                 ^
0_0_20989840_1398.cpp:81:28: error: stray '#' in program
                     po[num++][1]=j;
                            ^
0_0_20989840_1398.cpp:81:33: error: stray '#' in program
                     po[num++][1]=j;
                                 ^
0_0_20989840_1398.cpp:92:25: error: stray '#' in program
         for(i=0;i<num;i++)//枚举位置
                         ^
0_0_20989840_1398.cpp:92:30: error: stray '#' in program
         for(i=0;i<num;i++)//枚举位置
                              ^
0_0_20989840_1398.cpp:95:27: error: stray '#' in program
             for(j=0;j<4;j++)//枚举方向
                           ^
0_0_20989840_1398.cpp:95:32: error: stray '#' in program
             for(j=0;j<4;j++)//枚举方向
                                ^
0_0_20989840_1398.cpp:97:33: error: stray '#' in program
                 for(k=0;k<num;k++)
                                 ^
0_0_20989840_1398.cpp:97:38: error: stray '#' in program
                 for(k=0;k<num;k++)
                                      ^
0_0_20989840_1398.cpp:102:37: error: stray '#' in program
                 if((check(dir[j][0]+x,dir[j][1]+y)&&map[dir[j][0]+x][dir[j][1]+y]=='#')||(check(dir[(j+1)%4][0]+x,dir[(j+1)%4][1]+y)&&map[dir[(j+1)%4][0]+x][dir[(j+1)%4][1]+y]=='#'))
                                     ^
0_0_20989840_1398.cpp:102:53: error: stray '#' in program
                 if((check(dir[j][0]+x,dir[j][1]+y)&&map[dir[j][0]+x][dir[j][1]+y]=='#')||(check(dir[(j+1)%4][0]+x,dir[(j+1)%4][1]+y)&&map[dir[(j+1)%4][0]+x][dir[(j+1)%4][1]+y]=='#'))
                                                     ^
0_0_20989840_1398.cpp:102:75: error: stray '#' in program
                 if((check(dir[j][0]+x,dir[j][1]+y)&&map[dir[j][0]+x][dir[j][1]+y]=='#')||(check(dir[(j+1)%4][0]+x,dir[(j+1)%4][1]+y)&&map[dir[(j+1)%4][0]+x][dir[(j+1)%4][1]+y]=='#'))
                                                                           ^
0_0_20989840_1398.cpp:102:92: error: stray '#' in program
                 if((check(dir[j][0]+x,dir[j][1]+y)&&map[dir[j][0]+x][dir[j][1]+y]=='#')||(check(dir[(j+1)%4][0]+x,dir[(j+1)%4][1]+y)&&map[dir[(j+1)%4][0]+x][dir[(j+1)%4][1]+y]=='#'))
                                                                                            ^
0_0_20989840_1398.cpp:102:120: error: stray '#' in program
                 if((check(dir[j][0]+x,dir[j][1]+y)&&map[dir[j][0]+x][dir[j][1]+y]=='#')||(check(dir[(j+1)%4][0]+x,dir[(j+1)%4][1]+y)&&map[dir[(j+1)%4][0]+x][dir[(j+1)%4][1]+y]=='#'))
                                                                                                                        ^
0_0_20989840_1398.cpp:102:133: error: stray '#' in program
                 if((check(dir[j][0]+x,dir[j][1]+y)&&map[dir[j][0]+x][dir[j][1]+y]=='#')||(check(dir[(j+1)%4][0]+x,dir[(j+1)%4][1]+y)&&map[dir[(j+1)%4][0]+x][dir[(j+1)%4][1]+y]=='#'))
                                                                                                                                     ^
0_0_20989840_1398.cpp:102:146: error: stray '#' in program
                 if((check(dir[j][0]+x,dir[j][1]+y)&&map[dir[j][0]+x][dir[j][1]+y]=='#')||(check(dir[(j+1)%4][0]+x,dir[(j+1)%4][1]+y)&&map[dir[(j+1)%4][0]+x][dir[(j+1)%4][1]+y]=='#'))
                                                                                                                                                  ^
0_0_20989840_1398.cpp:102:159: error: stray '#' in program
                 if((check(dir[j][0]+x,dir[j][1]+y)&&map[dir[j][0]+x][dir[j][1]+y]=='#')||(check(dir[(j+1)%4][0]+x,dir[(j+1)%4][1]+y)&&map[dir[(j+1)%4][0]+x][dir[(j+1)%4][1]+y]=='#'))
                                                                                                                                                               ^
0_0_20989840_1398.cpp:102:178: error: stray '#' in program
                 if((check(dir[j][0]+x,dir[j][1]+y)&&map[dir[j][0]+x][dir[j][1]+y]=='#')||(check(dir[(j+1)%4][0]+x,dir[(j+1)%4][1]+y)&&map[dir[(j+1)%4][0]+x][dir[(j+1)%4][1]+y]=='#'))
                                                                                                                                                                                  ^
0_0_20989840_1398.cpp:102:191: error: stray '#' in program
                 if((check(dir[j][0]+x,dir[j][1]+y)&&map[dir[j][0]+x][dir[j][1]+y]=='#')||(check(dir[(j+1)%4][0]+x,dir[(j+1)%4][1]+y)&&map[dir[(j+1)%4][0]+x][dir[(j+1)%4][1]+y]=='#'))
                                                                                                                                                                                               ^
0_0_20989840_1398.cpp:102:205: error: stray '#' in program
                 if((check(dir[j][0]+x,dir[j][1]+y)&&map[dir[j][0]+x][dir[j][1]+y]=='#')||(check(dir[(j+1)%4][0]+x,dir[(j+1)%4][1]+y)&&map[dir[(j+1)%4][0]+x][dir[(j+1)%4][1]+y]=='#'))
                                                                                                                                                                                                             ^
0_0_20989840_1398.cpp:102:218: error: stray '#' in program
                 if((check(dir[j][0]+x,dir[j][1]+y)&&map[dir[j][0]+x][dir[j][1]+y]=='#')||(check(dir[(j+1)%4][0]+x,dir[(j+1)%4][1]+y)&&map[dir[(j+1)%4][0]+x][dir[(j+1)%4][1]+y]=='#'))
                                                                                                                                                                                                                          ^
0_0_20989840_1398.cpp:104:21: error: stray '#' in program
                 sum++;
                     ^
0_0_20989840_1398.cpp:104:26: error: stray '#' in program
                 sum++;
                          ^
0_0_20989840_1398.cpp:105:31: error: stray '#' in program
                 vis[dir[j][0]+x][dir[j][1]+y]=sum;
                               ^
0_0_20989840_1398.cpp:105:48: error: stray '#' in program
                 vis[dir[j][0]+x][dir[j][1]+y]=sum;
                                                ^
0_0_20989840_1398.cpp:106:28: error: stray '#' in program
                 vis[dir[(j+1)%4][0]+x][dir[(j+1)%4][1]+y]=sum;
                            ^
0_0_20989840_1398.cpp:106:41: error: stray '#' in program
                 vis[dir[(j+1)%4][0]+x][dir[(j+1)%4][1]+y]=sum;
                                         ^
0_0_20989840_1398.cpp:106:55: error: stray '#' in program
                 vis[dir[(j+1)%4][0]+x][dir[(j+1)%4][1]+y]=sum;
                                                       ^
0_0_20989840_1398.cpp:106:68: error: stray '#' in program
                 vis[dir[(j+1)%4][0]+x][dir[


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 20:26:39, Gzip enabled