摘要: [SDOI2016]征途 这个就当做斜率优化的模板吧.. #include<bits/stdc++.h> #define ll long long using namespace std; const int N=3010; ll f[N][N],a[N],l,r,q[N],n,m,sum[N]; 阅读全文
posted @ 2020-03-06 22:30 逆天峰 阅读(163) 评论(0) 推荐(0) 编辑
作者:逆天峰
出处:https://www.cnblogs.com/gcfer//