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
}
^
|