0_0_37707951_16962.cpp: In function 'int main()':
0_0_37707951_16962.cpp:23:21: error: invalid types 'int[int]' for array subscript
f[a][b]++;
^
0_0_37707951_16962.cpp:27:21: error: 't' was not declared in this scope
dp[i][t]=f[i][t];
^
0_0_37707951_16962.cpp:33:69: error: invalid types 'int[int]' for array subscript
if(j==0)dp[j][i]=max(dp[0][i+1],dp[1][i+1])+f[j][i];
^
0_0_37707951_16962.cpp:34:76: error: invalid types 'int[int]' for array subscript
else if(j==10)dp[j][i]=max(dp[10][i+1],dp[9][i+1])+f[j][i];
^
0_0_37707951_16962.cpp:36:83: error: invalid types 'int[int]' for array subscript
dp[j][i]=max(max(dp[j][i+1],dp[j+1][i+1]),dp[j-1][i+1])+f[j][i];
^
|