0_0_26444594_1798.cpp: In function 'int main()': 0_0_26444594_1798.cpp:24:50: error: 'max' was not declared in this scope dp[j] = max(dp[j - 1], pre[j - 1]) + a[j]; ^