0_0_28641692_8872.cpp:1:1: error: expected unqualified-id before 'for'
for(int j=2;j<=k;j++)
^
0_0_28641692_8872.cpp:1:13: error: 'j' does not name a type
for(int j=2;j<=k;j++)
^
0_0_28641692_8872.cpp:1:18: error: 'j' does not name a type
for(int j=2;j<=k;j++)
^
0_0_28641692_8872.cpp:3:13: error: expected unqualified-id before 'for'
for(int j=k+1;j<=i;j++)
^
0_0_28641692_8872.cpp:3:27: error: 'j' does not name a type
for(int j=k+1;j<=i;j++)
^
0_0_28641692_8872.cpp:3:32: error: 'j' does not name a type
for(int j=k+1;j<=i;j++)
^
0_0_28641692_8872.cpp:5:24: error: 'c' was not declared in this scope
double tmp=c[1]*pp[i-1];
^
0_0_28641692_8872.cpp:5:29: error: 'pp' was not declared in this scope
double tmp=c[1]*pp[i-1];
^
0_0_28641692_8872.cpp:5:32: error: 'i' was not declared in this scope
double tmp=c[1]*pp[i-1];
^
0_0_28641692_8872.cpp:6:13: error: expected unqualified-id before 'for'
for(int j=2;j<=k;j++)
^
0_0_28641692_8872.cpp:6:25: error: 'j' does not name a type
for(int j=2;j<=k;j++)
^
0_0_28641692_8872.cpp:6:30: error: 'j' does not name a type
for(int j=2;j<=k;j++)
^
0_0_28641692_8872.cpp:8:13: error: expected unqualified-id before 'for'
for(int j=k+1;j<=i;j++)
^
0_0_28641692_8872.cpp:8:27: error: 'j' does not name a type
for(int j=k+1;j<=i;j++)
^
0_0_28641692_8872.cpp:8:32: error: 'j' does not name a type
for(int j=k+1;j<=i;j++)
^
0_0_28641692_8872.cpp:10:14: error: 'dp' does not name a type
dp[i][i]=tmp/(1-pp[i]);
^
0_0_28641692_8872.cpp:11:14: error: 'dp' does not name a type
dp[i][1]=p*dp[i][i]+c[1];
^
0_0_28641692_8872.cpp:12:14: error: expected unqualified-id before 'for'
for(int j=2;j<i;j++)
^
0_0_28641692_8872.cpp:12:26: error: 'j' does not name a type
for(int j=2;j<i;j++)
^
0_0_28641692_8872.cpp:12:30: error: 'j' does not name a type
for(int j=2;j<i;j++)
^
|