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_21594459_9037.cpp:30:18: error: stray '#' in program
     if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
                  ^
0_0_21594459_9037.cpp:30:22: error: stray '#' in program
     if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
                      ^
0_0_21594459_9037.cpp:30:24: error: stray '#' in program
     if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
                        ^
0_0_21594459_9037.cpp:96:30: error: stray '#' in program
                 if(A[i][j]=='@'){
                              ^
0_0_21594459_9037.cpp:96:34: error: stray '@' in program
                 if(A[i][j]=='@'){
                                  ^
0_0_21594459_9037.cpp:96:36: error: stray '#' in program
                 if(A[i][j]=='@'){
                                    ^
0_0_21594459_9037.cpp: In function 'bool cango(int, int)':
0_0_21594459_9037.cpp:30:19: error: lvalue required as unary '&' operand
     if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
                   ^
0_0_21594459_9037.cpp:30:21: error: expected ')' before ';' token
     if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
                     ^
0_0_21594459_9037.cpp:30:25: error: lvalue required as unary '&' operand
     if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
                         ^
0_0_21594459_9037.cpp:30:50: error: expected ';' before ')' token
     if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
                                                  ^
0_0_21594459_9037.cpp:33:5: error: 'else' without a previous 'if'
     else return 0;
     ^
0_0_21594459_9037.cpp:30:30: error: label 'x' used but not defined
     if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
                              ^
0_0_21594459_9037.cpp: In function 'int main()':
0_0_21594459_9037.cpp:96:31: error: lvalue required as unary '&' operand
                 if(A[i][j]=='@'){
                               ^
0_0_21594459_9037.cpp:96:33: error: expected ')' before ';' token
                 if(A[i][j]=='@'){
                                 ^
0_0_21594459_9037.cpp:96:37: error: lvalue required as unary '&' operand
                 if(A[i][j]=='@'){
                                     ^
0_0_21594459_9037.cpp:96:40: error: expected primary-expression before ')' token
                 if(A[i][j]=='@'){
                                        ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-11 00:29:04, Gzip enabled