0_0_15969248_27967.cpp:33:23: error: stray '#' in program
for(i=0;i<4;i++)
^
0_0_15969248_27967.cpp:33:28: error: stray '#' in program
for(i=0;i<4;i++)
^
0_0_15969248_27967.cpp:35:20: error: stray '#' in program
xx=f.x+dir[i][0];
^
0_0_15969248_27967.cpp:36:20: error: stray '#' in program
yy=f.y+dir[i][1];
^
0_0_15969248_27967.cpp:39:29: error: stray '#' in program
step=f.step+1;
^
0_0_15969248_27967.cpp:41:29: error: stray '#' in program
step=f.step+e[xx][yy]-'0'+1;
^
0_0_15969248_27967.cpp:41:47: error: stray '#' in program
step=f.step+e[xx][yy]-'0'+1;
^
0_0_15969248_27967.cpp:57:16: error: stray '#' in program
cout<<++num<<"s:(0,0)->("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:57:21: error: stray '#' in program
cout<<++num<<"s:(0,0)->("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:60:37: error: stray '#' in program
for(j=0;j<e[a][b]-'0';j++)
^
0_0_15969248_27967.cpp:60:42: error: stray '#' in program
for(j=0;j<e[a][b]-'0';j++)
^
0_0_15969248_27967.cpp:61:24: error: stray '#' in program
cout<<++num<<"s:FIGHT AT ("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:61:29: error: stray '#' in program
cout<<++num<<"s:FIGHT AT ("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:66:12: error: stray '#' in program
cout<<++num<<"s:("<<g[a][b].x<<","<<g[a][b].y<<")->("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:66:17: error: stray '#' in program
cout<<++num<<"s:("<<g[a][b].x<<","<<g[a][b].y<<")->("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:69:33: error: stray '#' in program
for(j=0;j<e[a][b]-'0';j++)
^
0_0_15969248_27967.cpp:69:38: error: stray '#' in program
for(j=0;j<e[a][b]-'0';j++)
^
0_0_15969248_27967.cpp:70:20: error: stray '#' in program
cout<<++num<<"s:FIGHT AT ("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:70:25: error: stray '#' in program
cout<<++num<<"s:FIGHT AT ("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:78:23: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_15969248_27967.cpp:78:28: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_15969248_27967.cpp:81:23: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_15969248_27967.cpp:81:28: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_15969248_27967.cpp:82:27: error: stray '#' in program
for(j=0;j<m;j++)
^
0_0_15969248_27967.cpp:82:32: error: stray '#' in program
for(j=0;j<m;j++)
^
0_0_15969248_27967.cpp: In function 'void bfs()':
0_0_15969248_27967.cpp:33:26: error: expected ')' before ';' token
for(i=0;i<4;i++)
^
0_0_15969248_27967.cpp:33:29: error: lvalue required as unary '&' operand
for(i=0;i<4;i++)
^
0_0_15969248_27967.cpp:33:32: error: expected primary-expression before ')' token
for(i=0;i<4;i++)
^
0_0_15969248_27967.cpp: In function 'void print(int, int)':
0_0_15969248_27967.cpp:57:17: error: lvalue required as unary '&' operand
cout<<++num<<"s:(0,0)->("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:57:22: error: lvalue required as unary '&' operand
cout<<++num<<"s:(0,0)->("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:57:30: error: invalid operands of types 'int' and 'const char [11]' to binary 'operator<<'
cout<<++num<<"s:(0,0)->("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:60:40: error: expected ')' before ';' token
for(j=0;j<e[a][b]-'0';j++)
^
0_0_15969248_27967.cpp:60:43: error: lvalue required as unary '&' operand
for(j=0;j<e[a][b]-'0';j++)
^
0_0_15969248_27967.cpp:60:46: error: expected primary-expression before ')' token
for(j=0;j<e[a][b]-'0';j++)
^
0_0_15969248_27967.cpp:61:30: error: lvalue required as unary '&' operand
cout<<++num<<"s:FIGHT AT ("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:61:38: error: invalid operands of types 'int' and 'const char [13]' to binary 'operator<<'
cout<<++num<<"s:FIGHT AT ("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:66:13: error: lvalue required as unary '&' operand
cout<<++num<<"s:("<<g[a][b].x<<","<<g[a][b].y<<")->("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:66:18: error: lvalue required as unary '&' operand
cout<<++num<<"s:("<<g[a][b].x<<","<<g[a][b].y<<")->("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:66:26: error: invalid operands of types 'int' and 'const char [4]' to binary 'operator<<'
cout<<++num<<"s:("<<g[a][b].x<<","<<g[a][b].y<<")->("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:69:36: error: expected ')' before ';' token
for(j=0;j<e[a][b]-'0';j++)
^
0_0_15969248_27967.cpp:69:39: error: lvalue required as unary '&' operand
for(j=0;j<e[a][b]-'0';j++)
^
0_0_15969248_27967.cpp:69:42: error: expected primary-expression before ')' token
for(j=0;j<e[a][b]-'0';j++)
^
0_0_15969248_27967.cpp:70:26: error: lvalue required as unary '&' operand
cout<<++num<<"s:FIGHT AT ("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp:70:34: error: invalid operands of types 'int' and 'const char [13]' to binary 'operator<<'
cout<<++num<<"s:FIGHT AT ("<<a<<","<<b<<")"<<endl;
^
0_0_15969248_27967.cpp: In function 'int main()':
0_0_15969248_27967.cpp:78:26: error: expected ')' before ';' token
for(i=0;i<n;i++)
^
0_0_15969248_27967.cpp:78:29: error: lvalue required as unary '&' operand
for(i=0;i<n;i++)
^
0_0_15969248_27967.cpp:78:32: error: expected primary-expression before ')' token
for(i=0;i<n;i++)
^
0_0_15969248_27967.cpp:81:26: error: expected ')' before ';' token
for(i=0;i<n;i++)
^
0_0_15969248_27967.cpp:81:29: error: lvalue required as unary '&' operand
for(i=0;i<n;i++)
^
0_0_15969248_27967.cpp:81:32: error: expected primary-expression before ')' token
for(i=0;i<n;i++)
^
0_0_15969248_27967.cpp:82:33: error: lvalue required as unary '&' operand
for(j=0;j<m;j++)
^
0_0_15969248_27967.cpp:82:36: error: expected primary-expression before ')' token
for(j=0;j<m;j++)
^
|