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_21595860_25210.cpp:40:22: error: stray '#' in program
     if(map[0][0] == '0')
                      ^
0_0_21595860_25210.cpp:40:28: error: stray '#' in program
     if(map[0][0] == '0')
                            ^
0_0_21595860_25210.cpp:56:42: error: stray '#' in program
                     if(map[f.x][f.y] == '0')
                                          ^
0_0_21595860_25210.cpp:56:48: error: stray '#' in program
                     if(map[f.x][f.y] == '0')
                                                ^
0_0_21595860_25210.cpp:128:42: error: stray '#' in program
                     if(map[f.x][f.y] == '1' && flag == 0)
                                          ^
0_0_21595860_25210.cpp:128:48: error: stray '#' in program
                     if(map[f.x][f.y] == '1' && flag == 0)
                                                ^
0_0_21595860_25210.cpp:132:47: error: stray '#' in program
                     else if(map[f.x][f.y] == '0')
                                               ^
0_0_21595860_25210.cpp:132:53: error: stray '#' in program
                     else if(map[f.x][f.y] == '0')
                                                     ^
0_0_21595860_25210.cpp:185:46: error: stray '#' in program
         if(n == 1 && m == 1 && map[0][0] == '0')
                                              ^
0_0_21595860_25210.cpp:185:52: error: stray '#' in program
         if(n == 1 && m == 1 && map[0][0] == '0')
                                                    ^
0_0_21595860_25210.cpp: In function 'void BFS()':
0_0_21595860_25210.cpp:40:23: error: lvalue required as unary '&' operand
     if(map[0][0] == '0')
                       ^
0_0_21595860_25210.cpp:40:25: error: expected ')' before ';' token
     if(map[0][0] == '0')
                         ^
0_0_21595860_25210.cpp:40:32: error: expected primary-expression before ')' token
     if(map[0][0] == '0')
                                ^
0_0_21595860_25210.cpp:92:5: error: 'else' without a previous 'if'
     else
     ^
0_0_21595860_25210.cpp:128:43: error: lvalue required as unary '&' operand
                     if(map[f.x][f.y] == '1' && flag == 0)
                                           ^
0_0_21595860_25210.cpp:128:45: error: expected ')' before ';' token
                     if(map[f.x][f.y] == '1' && flag == 0)
                                             ^
0_0_21595860_25210.cpp:128:65: error: expected ';' before ')' token
                     if(map[f.x][f.y] == '1' && flag == 0)
                                                                 ^
0_0_21595860_25210.cpp:132:21: error: expected '}' before 'else'
                     else if(map[f.x][f.y] == '0')
                     ^
0_0_21595860_25210.cpp:132:48: error: lvalue required as unary '&' operand
                     else if(map[f.x][f.y] == '0')
                                                ^
0_0_21595860_25210.cpp:132:50: error: expected ')' before ';' token
                     else if(map[f.x][f.y] == '0')
                                                  ^
0_0_21595860_25210.cpp:132:57: error: expected primary-expression before ')' token
                     else if(map[f.x][f.y] == '0')
                                                         ^
0_0_21595860_25210.cpp:152:12: error: 'flag' was not declared in this scope
         if(flag == 0)
            ^
0_0_21595860_25210.cpp:128:56: error: label 'flag' used but not defined
                     if(map[f.x][f.y] == '1' && flag == 0)
                                                        ^
0_0_21595860_25210.cpp: At global scope:
0_0_21595860_25210.cpp:166:5: error: expected unqualified-id before 'for'
     for(int i=0; i<=pk; i++)
     ^
0_0_21595860_25210.cpp:166:18: error: 'i' does not name a type
     for(int i=0; i<=pk; i++)
                  ^
0_0_21595860_25210.cpp:166:25: error: 'i' does not name a type
     for(int i=0; i<=pk; i++)
                         ^
0_0_21595860_25210.cpp:170:11: error: expected constructor, destructor, or type conversion before '(' token
     printf("\n");
           ^
0_0_21595860_25210.cpp:172:1: error: expected declaration before '}' token
 }
 ^


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 18:11:38, Gzip enabled