0_0_32854526_21972.cpp:1:1: error: 'dp' does not name a type dp[p]+sum[i]-sum[p]-a[p+1]*(i-p)<=dp[j]+sum[i]-sum[j]-a[j+1]*(i-j)//https://blog.csdn.net/ACTerminate/article/details/79354279 ^