摘要: 题目链接 先来看一下朴素的暴力 dp[i]表示前i个装完的最小花费,再加个前缀和 #include<bits/stdc++.h> using namespace std; long long c[50010],sum[50010],dp[50010]; int read() { int x=0,f= 阅读全文
posted @ 2020-10-22 19:28 zlq, 阅读(41) 评论(0) 推荐(0) 编辑