2016年12月26日

摘要: 和上题类似吧。。。。 阅读全文

posted @ 2016-12-26 16:11 ziliuziliu 阅读(151) 评论(0) 推荐(0) 编辑

摘要: 也是斜率优化。。。。推下式子就好了。 阅读全文

posted @ 2016-12-26 15:30 ziliuziliu 阅读(107) 评论(0) 推荐(0) 编辑

摘要: 斜率优化。注意要判分母为0的情况。dp数组可以滚一维。 阅读全文

posted @ 2016-12-26 13:06 ziliuziliu 阅读(140) 评论(0) 推荐(0) 编辑

摘要: sb数位dp. 阅读全文

posted @ 2016-12-26 09:33 ziliuziliu 阅读(141) 评论(0) 推荐(0) 编辑