该文被密码保护。 阅读全文
posted @ 2019-01-28 21:02 风浔凌 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 题目链接: "戳我" 树上链修改 差分 每一个节点都开一个权值线段树,最后从下往上合并qwq 代码如下: include include include include include define MAXN 200010 using namespace std; int t,n,m,cnt,cur 阅读全文
posted @ 2019-01-28 20:33 风浔凌 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 极短代码预警 今天听身边的神仙说,可以用vector来写平衡树,代码极短。 然后去网上搜了一下,看到了attack dalao的这篇文章。 蒟蒻表示ssfd 赶紧膜拜了一波,并发表了一篇博客表示纪念。 实测轻松碾压我的splay和fhq。。。。。 阅读全文
posted @ 2019-01-28 09:46 风浔凌 阅读(386) 评论(2) 推荐(0) 编辑