0_0_21599507_18420.cpp:15:18: error: stray '#' in program
if(a[i][j]=='0')
^
0_0_21599507_18420.cpp:15:24: error: stray '#' in program
if(a[i][j]=='0')
^
0_0_21599507_18420.cpp:22:25: error: stray '#' in program
int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
^
0_0_21599507_18420.cpp:22:31: error: stray '#' in program
int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
^
0_0_21599507_18420.cpp:22:59: error: stray '#' in program
int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
^
0_0_21599507_18420.cpp:22:65: error: stray '#' in program
int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
^
0_0_21599507_18420.cpp: In function 'long long int dfs(int, int)':
0_0_21599507_18420.cpp:15:19: error: lvalue required as unary '&' operand
if(a[i][j]=='0')
^
0_0_21599507_18420.cpp:15:21: error: expected ')' before ';' token
if(a[i][j]=='0')
^
0_0_21599507_18420.cpp:15:28: error: expected primary-expression before ')' token
if(a[i][j]=='0')
^
0_0_21599507_18420.cpp:22:26: error: lvalue required as unary '&' operand
int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
^
0_0_21599507_18420.cpp:22:28: error: expected ')' before ';' token
int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
^
0_0_21599507_18420.cpp:22:35: error: expected primary-expression before ')' token
int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
^
0_0_21599507_18420.cpp:22:69: error: expected primary-expression before ')' token
int X=(a[i][j]-'0')*f[q][0]+i,Y=(a[i][j]-'0')*f[q][1]+j;
^
0_0_21599507_18420.cpp:23:23: error: 'Y' was not declared in this scope
if(X>=0&&X<n&&Y>=0&&Y<n)
^
|