Codeforces1155 D. Beautiful Array(dp,最大子段和变形)

NoSuchKey