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_21588398_10713.cpp:79:43: error: stray '#' in program
         if(a<1||b<1||a>n||b>m||mp[a][b]=='X'||vis[a][b]||ghost(a,b)<=step+1){
                                           ^
0_0_21588398_10713.cpp:79:49: error: stray '#' in program
         if(a<1||b<1||a>n||b>m||mp[a][b]=='X'||vis[a][b]||ghost(a,b)<=step+1){
                                                 ^
0_0_21588398_10713.cpp:116:57: error: stray '#' in program
             if(!a||!b||a>n||b>m||vis2[a][b]||mp[a][b]=='X'||ghost(a,b)<=step+1){
                                                         ^
0_0_21588398_10713.cpp:116:63: error: stray '#' in program
             if(!a||!b||a>n||b>m||vis2[a][b]||mp[a][b]=='X'||ghost(a,b)<=step+1){
                                                               ^
0_0_21588398_10713.cpp:145:31: error: stray '#' in program
                 if(mp[i][j]=='M'){
                               ^
0_0_21588398_10713.cpp:145:37: error: stray '#' in program
                 if(mp[i][j]=='M'){
                                     ^
0_0_21588398_10713.cpp:147:37: error: stray '#' in program
                 }else if(mp[i][j]=='G'){
                                     ^
0_0_21588398_10713.cpp:147:43: error: stray '#' in program
                 }else if(mp[i][j]=='G'){
                                           ^
0_0_21588398_10713.cpp:149:37: error: stray '#' in program
                 }else if(mp[i][j]=='Z'){
                                     ^
0_0_21588398_10713.cpp:149:43: error: stray '#' in program
                 }else if(mp[i][j]=='Z'){
                                           ^
0_0_21588398_10713.cpp: In function 'void bfs()':
0_0_21588398_10713.cpp:79:44: error: lvalue required as unary '&' operand
         if(a<1||b<1||a>n||b>m||mp[a][b]=='X'||vis[a][b]||ghost(a,b)<=step+1){
                                            ^
0_0_21588398_10713.cpp:79:46: error: expected ')' before ';' token
         if(a<1||b<1||a>n||b>m||mp[a][b]=='X'||vis[a][b]||ghost(a,b)<=step+1){
                                              ^
0_0_21588398_10713.cpp:79:50: error: invalid operands of types 'const int [4]' and 'int' to binary 'operator&'
         if(a<1||b<1||a>n||b>m||mp[a][b]=='X'||vis[a][b]||ghost(a,b)<=step+1){
                                                  ^
0_0_21588398_10713.cpp:79:53: error: expected primary-expression before '||' token
         if(a<1||b<1||a>n||b>m||mp[a][b]=='X'||vis[a][b]||ghost(a,b)<=step+1){
                                                     ^
0_0_21588398_10713.cpp:116:58: error: lvalue required as unary '&' operand
             if(!a||!b||a>n||b>m||vis2[a][b]||mp[a][b]=='X'||ghost(a,b)<=step+1){
                                                          ^
0_0_21588398_10713.cpp:116:60: error: expected ')' before ';' token
             if(!a||!b||a>n||b>m||vis2[a][b]||mp[a][b]=='X'||ghost(a,b)<=step+1){
                                                            ^
0_0_21588398_10713.cpp:116:64: error: invalid operands of types 'const int [4]' and 'int' to binary 'operator&'
             if(!a||!b||a>n||b>m||vis2[a][b]||mp[a][b]=='X'||ghost(a,b)<=step+1){
                                                                ^
0_0_21588398_10713.cpp:116:67: error: expected primary-expression before '||' token
             if(!a||!b||a>n||b>m||vis2[a][b]||mp[a][b]=='X'||ghost(a,b)<=step+1){
                                                                   ^
0_0_21588398_10713.cpp: In function 'int main()':
0_0_21588398_10713.cpp:145:32: error: lvalue required as unary '&' operand
                 if(mp[i][j]=='M'){
                                ^
0_0_21588398_10713.cpp:145:34: error: expected ')' before ';' token
                 if(mp[i][j]=='M'){
                                  ^
0_0_21588398_10713.cpp:145:35: error: 'M' was not declared in this scope
                 if(mp[i][j]=='M'){
                                   ^
0_0_21588398_10713.cpp:145:41: error: expected primary-expression before ')' token
                 if(mp[i][j]=='M'){
                                         ^
0_0_21588398_10713.cpp:147:18: error: 'else' without a previous 'if'
                 }else if(mp[i][j]=='G'){
                  ^
0_0_21588398_10713.cpp:147:38: error: lvalue required as unary '&' operand
                 }else if(mp[i][j]=='G'){
                                      ^
0_0_21588398_10713.cpp:147:40: error: expected ')' before ';' token
                 }else if(mp[i][j]=='G'){
                                        ^
0_0_21588398_10713.cpp:147:41: error: 'G' was not declared in this scope
                 }else if(mp[i][j]=='G'){
                                         ^
0_0_21588398_10713.cpp:147:47: error: expected primary-expression before ')' token
                 }else if(mp[i][j]=='G'){
                                               ^
0_0_21588398_10713.cpp:149:18: error: 'else' without a previous 'if'
                 }else if(mp[i][j]=='Z'){
                  ^
0_0_21588398_10713.cpp:149:38: error: lvalue required as unary '&' operand
                 }else if(mp[i][j]=='Z'){
                                      ^
0_0_21588398_10713.cpp:149:40: error: expected ')' before ';' token
                 }else if(mp[i][j]=='Z'){
                                        ^
0_0_21588398_10713.cpp:149:41: error: 'Z' was not declared in this scope
                 }else if(mp[i][j]=='Z'){
                                         ^
0_0_21588398_10713.cpp:149:47: error: expected primary-expression before ')' token
                 }else if(mp[i][j]=='Z'){
                                               ^


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 04:44:42, Gzip enabled