0_0_20986681_17619.cpp:22:35: error: stray '#' in program
for(int i = 1; i <= n; i ++)
^
0_0_20986681_17619.cpp:22:40: error: stray '#' in program
for(int i = 1; i <= n; i ++)
^
0_0_20986681_17619.cpp:25:39: error: stray '#' in program
for(int j = 0; j <= i; j ++)
^
0_0_20986681_17619.cpp:25:44: error: stray '#' in program
for(int j = 0; j <= i; j ++)
^
0_0_20986681_17619.cpp:27:48: error: stray '#' in program
for(int k = 100 - i; k <= 100 + j; k ++)
^
0_0_20986681_17619.cpp:27:59: error: stray '#' in program
for(int k = 100 - i; k <= 100 + j; k ++)
^
0_0_20986681_17619.cpp:27:64: error: stray '#' in program
for(int k = 100 - i; k <= 100 + j; k ++)
^
0_0_20986681_17619.cpp:29:36: error: stray '#' in program
dp[i&1][j][k] += dp[(i-1)&1][j][k-1] * R;
^
0_0_20986681_17619.cpp:30:36: error: stray '#' in program
dp[i&1][j][k] += dp[(i-1)&1][j][k+1] * L;
^
0_0_20986681_17619.cpp:30:59: error: stray '#' in program
dp[i&1][j][k] += dp[(i-1)&1][j][k+1] * L;
^
0_0_20986681_17619.cpp:31:36: error: stray '#' in program
dp[i&1][j][k] += dp[(i-1)&1][j][k] * (1.0 - L - R);
^
0_0_20986681_17619.cpp:33:32: error: stray '#' in program
dp[i&1][j][100+j] += dp[(i-1)&1][j-1][99+j] * R;
^
0_0_20986681_17619.cpp:33:40: error: stray '#' in program
dp[i&1][j][100+j] += dp[(i-1)&1][j-1][99+j] * R;
^
0_0_20986681_17619.cpp:33:66: error: stray '#' in program
dp[i&1][j][100+j] += dp[(i-1)&1][j-1][99+j] * R;
^
0_0_20986681_17619.cpp:36:35: error: stray '#' in program
for(int i = 0; i <= n; i ++)
^
0_0_20986681_17619.cpp:36:40: error: stray '#' in program
for(int i = 0; i <= n; i ++)
^
0_0_20986681_17619.cpp:38:44: error: stray '#' in program
for(int j = 100 - n; j <= 100 + n; j ++)
^
0_0_20986681_17619.cpp:38:55: error: stray '#' in program
for(int j = 100 - n; j <= 100 + n; j ++)
^
0_0_20986681_17619.cpp:38:60: error: stray '#' in program
for(int j = 100 - n; j <= 100 + n; j ++)
^
0_0_20986681_17619.cpp:40:22: error: stray '#' in program
ans += i * dp[n&1][i][j];
^
0_0_20986681_17619.cpp: In function 'int main()':
0_0_20986681_17619.cpp:22:38: error: expected ')' before ';' token
for(int i = 1; i <= n; i ++)
^
0_0_20986681_17619.cpp:22:41: error: lvalue required as unary '&' operand
for(int i = 1; i <= n; i ++)
^
0_0_20986681_17619.cpp:22:44: error: expected primary-expression before ')' token
for(int i = 1; i <= n; i ++)
^
0_0_20986681_17619.cpp:36:38: error: expected ')' before ';' token
for(int i = 0; i <= n; i ++)
^
0_0_20986681_17619.cpp:36:41: error: lvalue required as unary '&' operand
for(int i = 0; i <= n; i ++)
^
0_0_20986681_17619.cpp:36:44: error: expected primary-expression before ')' token
for(int i = 0; i <= n; i ++)
^
|