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_21594040_5707.cpp:12:20: error: stray '#' in program
     if(map[x][y]!='#')
                    ^
0_0_21594040_5707.cpp:12:24: error: stray '#' in program
     if(map[x][y]!='#')
                        ^
0_0_21594040_5707.cpp:12:26: error: stray '#' in program
     if(map[x][y]!='#')
                          ^
0_0_21594040_5707.cpp:14:16: error: stray '#' in program
     map[x][y]='.';
                ^
0_0_21594040_5707.cpp:14:22: error: stray '#' in program
     map[x][y]='.';
                      ^
0_0_21594040_5707.cpp:21:26: error: stray '#' in program
         if(map[tx][ty]!='#')
                          ^
0_0_21594040_5707.cpp:21:30: error: stray '#' in program
         if(map[tx][ty]!='#')
                              ^
0_0_21594040_5707.cpp:21:32: error: stray '#' in program
         if(map[tx][ty]!='#')
                                ^
0_0_21594040_5707.cpp:43:32: error: stray '#' in program
                 if(map[i][j]=='#')
                                ^
0_0_21594040_5707.cpp:43:36: error: stray '#' in program
                 if(map[i][j]=='#')
                                    ^
0_0_21594040_5707.cpp:43:38: error: stray '#' in program
                 if(map[i][j]=='#')
                                      ^
0_0_21594040_5707.cpp: In function 'void DFS(int, int)':
0_0_21594040_5707.cpp:12:21: error: lvalue required as unary '&' operand
     if(map[x][y]!='#')
                     ^
0_0_21594040_5707.cpp:12:23: error: expected ')' before ';' token
     if(map[x][y]!='#')
                       ^
0_0_21594040_5707.cpp:12:27: error: lvalue required as unary '&' operand
     if(map[x][y]!='#')
                           ^
0_0_21594040_5707.cpp:12:30: error: expected primary-expression before ')' token
     if(map[x][y]!='#')
                              ^
0_0_21594040_5707.cpp:14:17: error: lvalue required as unary '&' operand
     map[x][y]='.';
                 ^
0_0_21594040_5707.cpp:14:20: error: expected primary-expression before '.' token
     map[x][y]='.';
                    ^
0_0_21594040_5707.cpp:14:21: error: expected unqualified-id before '&' token
     map[x][y]='.';
                     ^
0_0_21594040_5707.cpp:21:27: error: lvalue required as unary '&' operand
         if(map[tx][ty]!='#')
                           ^
0_0_21594040_5707.cpp:21:29: error: expected ')' before ';' token
         if(map[tx][ty]!='#')
                             ^
0_0_21594040_5707.cpp:21:33: error: lvalue required as unary '&' operand
         if(map[tx][ty]!='#')
                                 ^
0_0_21594040_5707.cpp:21:36: error: expected primary-expression before ')' token
         if(map[tx][ty]!='#')
                                    ^
0_0_21594040_5707.cpp: In function 'int main()':
0_0_21594040_5707.cpp:43:33: error: lvalue required as unary '&' operand
                 if(map[i][j]=='#')
                                 ^
0_0_21594040_5707.cpp:43:35: error: expected ')' before ';' token
                 if(map[i][j]=='#')
                                   ^
0_0_21594040_5707.cpp:43:39: error: lvalue required as unary '&' operand
                 if(map[i][j]=='#')
                                       ^
0_0_21594040_5707.cpp:43:42: error: expected primary-expression before ')' token
                 if(map[i][j]=='#')
                                          ^


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-12-02 12:33:20, Gzip enabled