0_0_20585010_30215.cpp:1:1: error: 'dp' does not name a type dp[i][j][0]=max(dp[i-1][j][0],dp[i-1][j][2])+a[i][j]; ^