0_0_21595198_7458.cpp:32:61: error: stray '#' in program
if(tp.x<0||tp.x>n-1||tp.y<0||tp.y>m-1||map[tp.x][tp.y]=='#'&&tp.time%k!=0)
^
0_0_21595198_7458.cpp:32:65: error: stray '#' in program
if(tp.x<0||tp.x>n-1||tp.y<0||tp.y>m-1||map[tp.x][tp.y]=='#'&&tp.time%k!=0)
^
0_0_21595198_7458.cpp:32:67: error: stray '#' in program
if(tp.x<0||tp.x>n-1||tp.y<0||tp.y>m-1||map[tp.x][tp.y]=='#'&&tp.time%k!=0)
^
0_0_21595198_7458.cpp:61:21: error: stray '#' in program
if(map[i][j]=='Y')
^
0_0_21595198_7458.cpp:61:27: error: stray '#' in program
if(map[i][j]=='Y')
^
0_0_21595198_7458.cpp:65:26: error: stray '#' in program
else if(map[i][j]=='G')
^
0_0_21595198_7458.cpp:65:32: error: stray '#' in program
else if(map[i][j]=='G')
^
0_0_21595198_7458.cpp: In function 'void slove()':
0_0_21595198_7458.cpp:32:62: error: lvalue required as unary '&' operand
if(tp.x<0||tp.x>n-1||tp.y<0||tp.y>m-1||map[tp.x][tp.y]=='#'&&tp.time%k!=0)
^
0_0_21595198_7458.cpp:32:64: error: expected ')' before ';' token
if(tp.x<0||tp.x>n-1||tp.y<0||tp.y>m-1||map[tp.x][tp.y]=='#'&&tp.time%k!=0)
^
0_0_21595198_7458.cpp:32:68: error: lvalue required as unary '&' operand
if(tp.x<0||tp.x>n-1||tp.y<0||tp.y>m-1||map[tp.x][tp.y]=='#'&&tp.time%k!=0)
^
0_0_21595198_7458.cpp:32:75: error: expected ';' before '.' token
if(tp.x<0||tp.x>n-1||tp.y<0||tp.y>m-1||map[tp.x][tp.y]=='#'&&tp.time%k!=0)
^
0_0_21595198_7458.cpp:32:73: error: label 'tp' used but not defined
if(tp.x<0||tp.x>n-1||tp.y<0||tp.y>m-1||map[tp.x][tp.y]=='#'&&tp.time%k!=0)
^
0_0_21595198_7458.cpp: In function 'int main()':
0_0_21595198_7458.cpp:61:22: error: lvalue required as unary '&' operand
if(map[i][j]=='Y')
^
0_0_21595198_7458.cpp:61:24: error: expected ')' before ';' token
if(map[i][j]=='Y')
^
0_0_21595198_7458.cpp:61:25: error: 'Y' was not declared in this scope
if(map[i][j]=='Y')
^
0_0_21595198_7458.cpp:61:31: error: expected primary-expression before ')' token
if(map[i][j]=='Y')
^
0_0_21595198_7458.cpp:65:6: error: 'else' without a previous 'if'
else if(map[i][j]=='G')
^
0_0_21595198_7458.cpp:65:27: error: lvalue required as unary '&' operand
else if(map[i][j]=='G')
^
0_0_21595198_7458.cpp:65:29: error: expected ')' before ';' token
else if(map[i][j]=='G')
^
0_0_21595198_7458.cpp:65:30: error: 'G' was not declared in this scope
else if(map[i][j]=='G')
^
0_0_21595198_7458.cpp:65:36: error: expected primary-expression before ')' token
else if(map[i][j]=='G')
^
|