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_21590357_24209.cpp:23:26: error: stray '#' in program
     if(a[now.x][now.y]>='0'&&a[now.x][now.y]<='5')
                          ^
0_0_21590357_24209.cpp:23:32: error: stray '#' in program
     if(a[now.x][now.y]>='0'&&a[now.x][now.y]<='5')
                                ^
0_0_21590357_24209.cpp:23:56: error: stray '#' in program
     if(a[now.x][now.y]>='0'&&a[now.x][now.y]<='5')
                                                        ^
0_0_21590357_24209.cpp:23:62: error: stray '#' in program
     if(a[now.x][now.y]>='0'&&a[now.x][now.y]<='5')
                                                              ^
0_0_21590357_24209.cpp:25:34: error: stray '#' in program
         int num=a[now.x][now.y]-'0';
                                  ^
0_0_21590357_24209.cpp:25:40: error: stray '#' in program
         int num=a[now.x][now.y]-'0';
                                        ^
0_0_21590357_24209.cpp:44:72: error: stray '#' in program
             if(nex.x>=0&&nex.x<n&&nex.y>=0&&nex.y<m&&a[nex.x][nex.y]!='#')//hefa
                                                                        ^
0_0_21590357_24209.cpp:44:76: error: stray '#' in program
             if(nex.x>=0&&nex.x<n&&nex.y>=0&&nex.y<m&&a[nex.x][nex.y]!='#')//hefa
                                                                            ^
0_0_21590357_24209.cpp:44:78: error: stray '#' in program
             if(nex.x>=0&&nex.x<n&&nex.y>=0&&nex.y<m&&a[nex.x][nex.y]!='#')//hefa
                                                                              ^
0_0_21590357_24209.cpp:46:38: error: stray '#' in program
                 if(a[nex.x][nex.y]=='.')
                                      ^
0_0_21590357_24209.cpp:46:44: error: stray '#' in program
                 if(a[nex.x][nex.y]=='.')
                                            ^
0_0_21590357_24209.cpp:54:43: error: stray '#' in program
                 else if(a[nex.x][nex.y]>='0'&&a[nex.x][nex.y]<='5')
                                           ^
0_0_21590357_24209.cpp:54:49: error: stray '#' in program
                 else if(a[nex.x][nex.y]>='0'&&a[nex.x][nex.y]<='5')
                                                 ^
0_0_21590357_24209.cpp:54:73: error: stray '#' in program
                 else if(a[nex.x][nex.y]>='0'&&a[nex.x][nex.y]<='5')
                                                                         ^
0_0_21590357_24209.cpp:54:79: error: stray '#' in program
                 else if(a[nex.x][nex.y]>='0'&&a[nex.x][nex.y]<='5')
                                                                               ^
0_0_21590357_24209.cpp:56:46: error: stray '#' in program
                     int num=a[nex.x][nex.y]-'0';
                                              ^
0_0_21590357_24209.cpp:56:52: error: stray '#' in program
                     int num=a[nex.x][nex.y]-'0';
                                                    ^
0_0_21590357_24209.cpp:92:30: error: stray '#' in program
                 if(a[i][j]=='@')
                              ^
0_0_21590357_24209.cpp:92:34: error: stray '@' in program
                 if(a[i][j]=='@')
                                  ^
0_0_21590357_24209.cpp:92:36: error: stray '#' in program
                 if(a[i][j]=='@')
                                    ^
0_0_21590357_24209.cpp:104:26: error: stray '#' in program
             a[xx][yy]=i+'0';
                          ^
0_0_21590357_24209.cpp:104:32: error: stray '#' in program
             a[xx][yy]=i+'0';
                                ^
0_0_21590357_24209.cpp: In function 'void Bfs(int, int)':
0_0_21590357_24209.cpp:23:27: error: lvalue required as unary '&' operand
     if(a[now.x][now.y]>='0'&&a[now.x][now.y]<='5')
                           ^
0_0_21590357_24209.cpp:23:29: error: expected ')' before ';' token
     if(a[now.x][now.y]>='0'&&a[now.x][now.y]<='5')
                             ^
0_0_21590357_24209.cpp:23:39: error: expected ';' before '[' token
     if(a[now.x][now.y]>='0'&&a[now.x][now.y]<='5')
                                       ^
0_0_21590357_24209.cpp:23:66: error: expected primary-expression before ')' token
     if(a[now.x][now.y]>='0'&&a[now.x][now.y]<='5')
                                                                  ^
0_0_21590357_24209.cpp:44:73: error: lvalue required as unary '&' operand
             if(nex.x>=0&&nex.x<n&&nex.y>=0&&nex.y<m&&a[nex.x][nex.y]!='#')//hefa
                                                                         ^
0_0_21590357_24209.cpp:44:75: error: expected ')' before ';' token
             if(nex.x>=0&&nex.x<n&&nex.y>=0&&nex.y<m&&a[nex.x][nex.y]!='#')//hefa
                                                                           ^
0_0_21590357_24209.cpp:44:79: error: lvalue required as unary '&' operand
             if(nex.x>=0&&nex.x<n&&nex.y>=0&&nex.y<m&&a[nex.x][nex.y]!='#')//hefa
                                                                               ^
0_0_21590357_24209.cpp:44:82: error: expected primary-expression before ')' token
             if(nex.x>=0&&nex.x<n&&nex.y>=0&&nex.y<m&&a[nex.x][nex.y]!='#')//hefa
                                                                                  ^
0_0_21590357_24209.cpp:23:38: error: label 'a' used but not defined
     if(a[now.x][now.y]>='0'&&a[now.x][now.y]<='5')
                                      ^
0_0_21590357_24209.cpp: In function 'int main()':
0_0_21590357_24209.cpp:92:31: error: lvalue required as unary '&' operand
                 if(a[i][j]=='@')
                               ^
0_0_21590357_24209.cpp:92:33: error: expected ')' before ';' token
                 if(a[i][j]=='@')
                                 ^
0_0_21590357_24209.cpp:92:37: error: lvalue required as unary '&' operand
                 if(a[i][j]=='@')
                                     ^
0_0_21590357_24209.cpp:92:40: error: expected primary-expression before ')' token
                 if(a[i][j]=='@')
                                        ^
0_0_21590357_24209.cpp:104:27: error: lvalue required as unary '&' operand
             a[xx][yy]=i+'0';
                           ^


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 01:11:50, Gzip enabled