摘要:
Description Input Output Sample Input Sample Input 5 3 1 6 1 5 3 5 4 4 4 4 Sample Output 15 Data Constraint 做法: 其实这就是很明显的一道斜率优化的dp式子,我们首先可以得到最显然的dp方程, 阅读全文
posted @ 2018-09-08 21:59
执迷于沿途风景的旅人
阅读(280)
评论(0)
推荐(0)