摘要:
斜率优化dp。 #include #include #include using namespace std; const int maxn = 50000 + 10; int n; long long L; int c[maxn],q[maxn]; long long s[maxn],f[maxn]; double slop(int j,int k) { return (f[... 阅读全文
posted @ 2016-05-11 17:55
invoid
阅读(248)
评论(0)
推荐(0)

浙公网安备 33010602011771号