摘要: 题目 "bzoj1202" 题解 差分约束,貌似也能用并查集??? 偷看到的信息是等式关系,用两个不等式表示 x y = v x y include include include include include define N 10050 define inf 1000000000 using 阅读全文
posted @ 2017-08-22 18:51 XYZinc 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 题目 "http://codevs.cn/problem/1082/" 题解 线段树模板没什么好说的,下面贴一个树状数组解法 "http://blog.csdn.net/fsahfgsadhsakndas/article/details/52650026" 修改区间[l,r]后查询 i( l inc 阅读全文
posted @ 2017-08-22 11:31 XYZinc 阅读(136) 评论(0) 推荐(0) 编辑