0_0_20983043_1635.cpp:17:26: error: stray '#' in program
for(int i=2;i<maxn;i++)
^
0_0_20983043_1635.cpp:17:31: error: stray '#' in program
for(int i=2;i<maxn;i++)
^
0_0_20983043_1635.cpp:19:32: error: stray '#' in program
for(int j=1;j<2*maxn;j++)
^
0_0_20983043_1635.cpp:19:37: error: stray '#' in program
for(int j=1;j<2*maxn;j++)
^
0_0_20983043_1635.cpp:21:40: error: stray '#' in program
dp[i][j][0]=(dp[i-1][j][0]+2*dp[i-1][j][1]+dp[i-1][j-1][0]+dp[i-1][j-1][1])%mod;
^
0_0_20983043_1635.cpp:21:60: error: stray '#' in program
dp[i][j][0]=(dp[i-1][j][0]+2*dp[i-1][j][1]+dp[i-1][j-1][0]+dp[i-1][j-1][1])%mod;
^
0_0_20983043_1635.cpp:21:80: error: stray '#' in program
dp[i][j][0]=(dp[i-1][j][0]+2*dp[i-1][j][1]+dp[i-1][j-1][0]+dp[i-1][j-1][1])%mod;
^
0_0_20983043_1635.cpp:23:48: error: stray '#' in program
dp[i][j][1]=(2*dp[i-1][j-1][0]+dp[i-1][j][1]+2*dp[i-1][j-1][1]+dp[i-1][j-2][0]+dp[i-1][j-2][1])%mod;
^
0_0_20983043_1635.cpp:23:66: error: stray '#' in program
dp[i][j][1]=(2*dp[i-1][j-1][0]+dp[i-1][j][1]+2*dp[i-1][j-1][1]+dp[i-1][j-2][0]+dp[i-1][j-2][1])%mod;
^
0_0_20983043_1635.cpp:23:88: error: stray '#' in program
dp[i][j][1]=(2*dp[i-1][j-1][0]+dp[i-1][j][1]+2*dp[i-1][j-1][1]+dp[i-1][j-2][0]+dp[i-1][j-2][1])%mod;
^
0_0_20983043_1635.cpp:23:108: error: stray '#' in program
dp[i][j][1]=(2*dp[i-1][j-1][0]+dp[i-1][j][1]+2*dp[i-1][j-1][1]+dp[i-1][j-2][0]+dp[i-1][j-2][1])%mod;
^
0_0_20983043_1635.cpp:25:48: error: stray '#' in program
dp[i][j][1]=(2*dp[i-1][j-1][0]+dp[i-1][j][1]+2*dp[i-1][j-1][1])%mod;
^
0_0_20983043_1635.cpp:25:66: error: stray '#' in program
dp[i][j][1]=(2*dp[i-1][j-1][0]+dp[i-1][j][1]+2*dp[i-1][j-1][1])%mod;
^
0_0_20983043_1635.cpp:34:36: error: stray '#' in program
printf("%d\n",(dp[n][k][0]+dp[n][k][1])%mod);
^
0_0_20983043_1635.cpp: In function 'int main()':
0_0_20983043_1635.cpp:17:29: error: expected ')' before ';' token
for(int i=2;i<maxn;i++)
^
0_0_20983043_1635.cpp:17:32: error: lvalue required as unary '&' operand
for(int i=2;i<maxn;i++)
^
0_0_20983043_1635.cpp:17:35: error: expected primary-expression before ')' token
for(int i=2;i<maxn;i++)
^
0_0_20983043_1635.cpp:34:39: error: expected ')' before ';' token
printf("%d\n",(dp[n][k][0]+dp[n][k][1])%mod);
^
0_0_20983043_1635.cpp:34:39: error: expected ')' before ';' token
0_0_20983043_1635.cpp:34:51: error: expected ';' before ')' token
printf("%d\n",(dp[n][k][0]+dp[n][k][1])%mod);
^
|