repainting专题

Contiguous Repainting(贪心+思维)

5616: Contiguous Repainting 时间限制: 2 Sec   内存限制: 256 MB 提交: 70   解决: 23 [ 提交][ 状态][ 讨论版][命题人: admin] 题目描述 There are N squares aligned in a row. The i-th square from the left contains an integer