0_0_16347731_654.cpp: In function 'void change()':
0_0_16347731_654.cpp:9:3: error: 'b' was not declared in this scope
*b=0;while (*a){
^
0_0_16347731_654.cpp:9:15: error: 'a' was not declared in this scope
*b=0;while (*a){
^
0_0_16347731_654.cpp: In function 'void DP()':
0_0_16347731_654.cpp:18:2: error: 'n' was not declared in this scope
n=*b;
^
0_0_16347731_654.cpp:18:5: error: 'b' was not declared in this scope
n=*b;
^
0_0_16347731_654.cpp:22:12: error: invalid types 'int[int]' for array subscript
f[i][i1][i2]=F[i][i1][i2][k+n];
^
0_0_16347731_654.cpp:22:31: error: 'k' was not declared in this scope
f[i][i1][i2]=F[i][i1][i2][k+n];
^
0_0_16347731_654.cpp:25:1: error: expected primary-expression before '}' token
}
^
0_0_16347731_654.cpp:25:1: error: expected ';' before '}' token
0_0_16347731_654.cpp:25:1: error: expected primary-expression before '}' token
0_0_16347731_654.cpp:25:1: error: expected ';' before '}' token
0_0_16347731_654.cpp:25:1: error: expected primary-expression before '}' token
0_0_16347731_654.cpp:25:1: error: expected ')' before '}' token
0_0_16347731_654.cpp:25:1: error: expected primary-expression before '}' token
0_0_16347731_654.cpp: In function 'int main()':
0_0_16347731_654.cpp:27:14: error: 'T' was not declared in this scope
scanf("%d",&T);
^
0_0_16347731_654.cpp:30:8: error: 'i' was not declared in this scope
for (i=1;s[i];i++)
^
0_0_16347731_654.cpp:31:4: error: 'a' was not declared in this scope
a[i]=s[i]-'0';
^
0_0_16347731_654.cpp:32:4: error: 'a' was not declared in this scope
*a=i-1;
^
0_0_16347731_654.cpp:32:6: error: 'i' was not declared in this scope
*a=i-1;
^
0_0_16347731_654.cpp:35:21: error: invalid use of void expression
printf("%d\n",DP());
^
|