0_0_20959564_5750.cpp:11:21: error: stray '#' in program
for(v=1;v<=ny;v++)
^
0_0_20959564_5750.cpp:11:26: error: stray '#' in program
for(v=1;v<=ny;v++)
^
0_0_20959564_5750.cpp:31:21: error: stray '#' in program
for(i=1;i<=nx;i++)
^
0_0_20959564_5750.cpp:31:26: error: stray '#' in program
for(i=1;i<=nx;i++)
^
0_0_20959564_5750.cpp:37:17: error: stray '#' in program
ans+=path(i);
^
0_0_20959564_5750.cpp:54:24: error: stray '#' in program
for(i=1;i<=m;i++)
^
0_0_20959564_5750.cpp:54:29: error: stray '#' in program
for(i=1;i<=m;i++)
^
0_0_20959564_5750.cpp:60:39: error: stray '#' in program
printf("Case %d: %d\n",tot,nx+ny-ans);
^
0_0_20959564_5750.cpp:61:13: error: stray '#' in program
tot++;
^
0_0_20959564_5750.cpp:61:18: error: stray '#' in program
tot++;
^
0_0_20959564_5750.cpp: In function 'int path(int)':
0_0_20959564_5750.cpp:11:24: error: expected ')' before ';' token
for(v=1;v<=ny;v++)
^
0_0_20959564_5750.cpp:11:27: error: lvalue required as unary '&' operand
for(v=1;v<=ny;v++)
^
0_0_20959564_5750.cpp:11:30: error: expected primary-expression before ')' token
for(v=1;v<=ny;v++)
^
0_0_20959564_5750.cpp: In function 'int solve()':
0_0_20959564_5750.cpp:31:24: error: expected ')' before ';' token
for(i=1;i<=nx;i++)
^
0_0_20959564_5750.cpp:31:27: error: lvalue required as unary '&' operand
for(i=1;i<=nx;i++)
^
0_0_20959564_5750.cpp:31:30: error: expected primary-expression before ')' token
for(i=1;i<=nx;i++)
^
0_0_20959564_5750.cpp: In function 'int main()':
0_0_20959564_5750.cpp:54:27: error: expected ')' before ';' token
for(i=1;i<=m;i++)
^
0_0_20959564_5750.cpp:54:30: error: lvalue required as unary '&' operand
for(i=1;i<=m;i++)
^
0_0_20959564_5750.cpp:54:33: error: expected primary-expression before ')' token
for(i=1;i<=m;i++)
^
0_0_20959564_5750.cpp:60:42: error: expected ')' before ';' token
printf("Case %d: %d\n",tot,nx+ny-ans);
^
0_0_20959564_5750.cpp:60:49: error: expected ';' before ')' token
printf("Case %d: %d\n",tot,nx+ny-ans);
^
0_0_20959564_5750.cpp:61:19: error: lvalue required as unary '&' operand
tot++;
^
|