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_21595601_2002.cpp:28:32: error: stray '#' in program
                 if(map[i][j]=='S'){
                                ^
0_0_21595601_2002.cpp:28:38: error: stray '#' in program
                 if(map[i][j]=='S'){
                                      ^
0_0_21595601_2002.cpp:41:38: error: stray '#' in program
             if(map[node.x][node.y]=='T')           
                                      ^
0_0_21595601_2002.cpp:41:44: error: stray '#' in program
             if(map[node.x][node.y]=='T')           
                                            ^
0_0_21595601_2002.cpp:46:69: error: stray '#' in program
                 if(a<0||a>=n||b<0||b>=m||book[a][b]==1||map[a][b]=='*')
                                                                     ^
0_0_21595601_2002.cpp:46:75: error: stray '#' in program
                 if(a<0||a>=n||b<0||b>=m||book[a][b]==1||map[a][b]=='*')
                                                                           ^
0_0_21595601_2002.cpp:48:32: error: stray '#' in program
                 if(map[a][b]=='|'){
                                ^
0_0_21595601_2002.cpp:48:38: error: stray '#' in program
                 if(map[a][b]=='|'){
                                      ^
0_0_21595601_2002.cpp:55:77: error: stray '#' in program
                         if(a<0||a>=n||b<0||b>=m||book[a][b]==1||map[a][b]=='*')
                                                                             ^
0_0_21595601_2002.cpp:55:83: error: stray '#' in program
                         if(a<0||a>=n||b<0||b>=m||book[a][b]==1||map[a][b]=='*')
                                                                                   ^
0_0_21595601_2002.cpp:68:37: error: stray '#' in program
                 else if(map[a][b]=='-'){
                                     ^
0_0_21595601_2002.cpp:68:43: error: stray '#' in program
                 else if(map[a][b]=='-'){
                                           ^
0_0_21595601_2002.cpp:74:77: error: stray '#' in program
                         if(a<0||a>=n||b<0||b>=m||book[a][b]==1||map[a][b]=='*')
                                                                             ^
0_0_21595601_2002.cpp:74:83: error: stray '#' in program
                         if(a<0||a>=n||b<0||b>=m||book[a][b]==1||map[a][b]=='*')
                                                                                   ^
0_0_21595601_2002.cpp: In function 'int main()':
0_0_21595601_2002.cpp:28:33: error: lvalue required as unary '&' operand
                 if(map[i][j]=='S'){
                                 ^
0_0_21595601_2002.cpp:28:35: error: expected ')' before ';' token
                 if(map[i][j]=='S'){
                                   ^
0_0_21595601_2002.cpp:28:36: error: 'S' was not declared in this scope
                 if(map[i][j]=='S'){
                                    ^
0_0_21595601_2002.cpp:28:42: error: expected primary-expression before ')' token
                 if(map[i][j]=='S'){
                                          ^
0_0_21595601_2002.cpp:41:39: error: lvalue required as unary '&' operand
             if(map[node.x][node.y]=='T')           
                                       ^
0_0_21595601_2002.cpp:41:41: error: expected ')' before ';' token
             if(map[node.x][node.y]=='T')           
                                         ^
0_0_21595601_2002.cpp:41:42: error: 'T' was not declared in this scope
             if(map[node.x][node.y]=='T')           
                                          ^
0_0_21595601_2002.cpp:41:48: error: expected primary-expression before ')' token
             if(map[node.x][node.y]=='T')           
                                                ^
0_0_21595601_2002.cpp:46:70: error: lvalue required as unary '&' operand
                 if(a<0||a>=n||b<0||b>=m||book[a][b]==1||map[a][b]=='*')
                                                                      ^
0_0_21595601_2002.cpp:46:72: error: expected ')' before ';' token
                 if(a<0||a>=n||b<0||b>=m||book[a][b]==1||map[a][b]=='*')
                                                                        ^
0_0_21595601_2002.cpp:46:76: error: lvalue required as unary '&' operand
                 if(a<0||a>=n||b<0||b>=m||book[a][b]==1||map[a][b]=='*')
                                                                            ^
0_0_21595601_2002.cpp:46:79: error: expected primary-expression before ')' token
                 if(a<0||a>=n||b<0||b>=m||book[a][b]==1||map[a][b]=='*')
                                                                               ^
0_0_21595601_2002.cpp:48:33: error: lvalue required as unary '&' operand
                 if(map[a][b]=='|'){
                                 ^
0_0_21595601_2002.cpp:48:35: error: expected ')' before ';' token
                 if(map[a][b]=='|'){
                                   ^
0_0_21595601_2002.cpp:48:36: error: expected primary-expression before '|' token
                 if(map[a][b]=='|'){
                                    ^
0_0_21595601_2002.cpp:48:39: error: lvalue required as unary '&' operand
                 if(map[a][b]=='|'){
                                       ^
0_0_21595601_2002.cpp:48:42: error: expected primary-expression before ')' token
                 if(map[a][b]=='|'){
                                          ^
0_0_21595601_2002.cpp:68:17: error: 'else' without a previous 'if'
                 else if(map[a][b]=='-'){
                 ^
0_0_21595601_2002.cpp:68:38: error: lvalue required as unary '&' operand
                 else if(map[a][b]=='-'){
                                      ^
0_0_21595601_2002.cpp:68:40: error: expected ')' before ';' token
                 else if(map[a][b]=='-'){
                                        ^
0_0_21595601_2002.cpp:68:44: error: lvalue required as unary '&' operand
                 else if(map[a][b]=='-'){
                                            ^
0_0_21595601_2002.cpp:68:47: error: expected primary-expression before ')' token
                 else if(map[a][b]=='-'){
                                               ^
0_0_21595601_2002.cpp:87:17: error: 'else' without a previous 'if'
                 else{
                 ^


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 03:55:43, Gzip enabled