摘要: "线段树合并" 好写好调,隔壁老王的treap+启发式合并难写难调 cpp include include using namespace std; int n, m, fa[100005], val[100005], rot[100005], uu, vv, fan[100005], cnt; i 阅读全文
posted @ 2018-05-02 17:07 poorpool 阅读(147) 评论(0) 推荐(0)
摘要: "ref" 阅读全文
posted @ 2018-05-02 15:29 poorpool 阅读(183) 评论(0) 推荐(0)
摘要: 学习一发平面图的姿势…… "ref" cpp include include include include include using namespace std; typedef long long ll; int n, m, k, cnt, uu, vv, nxt[1200005], bel[ 阅读全文
posted @ 2018-05-02 10:08 poorpool 阅读(219) 评论(0) 推荐(0)