摘要: 分治+最小割 看到题解的第一句话是这个就秒懂了,然后乱七八糟的错误、越界、RE…… cpp include include include include include include using namespace std; int n, m, uu, vv, ww, hea[855], cnt 阅读全文
posted @ 2018-04-25 16:18 poorpool 阅读(177) 评论(0) 推荐(0)
摘要: 学了斜率优化这题就能一气呵成地做出来啦qwqqwq cpp include include using namespace std; typedef long long ll; int n, m, x[3005], s[3005], l, r, dp[3005][3005], que[3005]; 阅读全文
posted @ 2018-04-25 09:51 poorpool 阅读(204) 评论(0) 推荐(0)