0_0_13989831_2680.cpp: In function 'int main()': 0_0_13989831_2680.cpp:34:26: error: 'dp' was not declared in this scope long long m=max(dp[i],dp[i-1]+a[i]); ^