0_0_20990861_12773.cpp:1:1: error: 'dp' does not name a type
dp[0][pos] = max(dp[0][pos],max(dp[0][e] + dp[0][pos],dp[1][e] + dp[0][pos]));
^
0_0_20990861_12773.cpp:2:1: error: 'dp' does not name a type
dp[1][pos] = max(dp[1][pos],dp[1][pos] + dp[0][e]);
^
|