- 博客(143)
- 收藏
- 关注

原创 BZOJ刷题记录
题号 名字 日期 类型 题解 1202 狡猾的商人 2017-3-11 并查集 戳这里 2733 永无乡 2017-3-6 Splay启发式合并 戳这里 1260 涂色paint 2017-12-24 区间DP 戳这里 1218 激光炸弹 2017-12-24 容斥 戳这里...
2017-12-03 11:51:14
643
原创 BZOJ1202(HNOI2005)[狡猾的商人]--并查集
【链接】 bzoj1202【解题报告】并查集维护前缀和。#include<cstdio>#include<cstring>using namespace std;const int maxn=105;int n,m,T,fa[maxn],w[maxn];inline char nc(){ static char buf[100000],*l...
2018-03-11 19:39:37
675
原创 BZOJ2773(HNOI2012)[永无乡]--Splay启发式合并
【链接】 bzoj2733【解题报告】好像是平衡树裸题吧,然后splay启发式合并码掉了。#include<cstdio>#include<algorithm>using namespace std;const int maxn=100005;int n,m,Q,w[maxn],c[maxn],fa[maxn];struct Splay{ ...
2018-03-07 11:09:38
760
原创 BZOJ4990&&BZOJ4993(Usaco2017 Feb)[Why Did the Cow Cross the Road II]--最长升
bzoj4990,bzoj4993
2017-11-28 20:21:40
703
原创 BZOJ1045(HAOI2008)[糖果传递]&&BZOJ3293(Cqoi2011)[分金币]--中位数
bzoj1045 ,bzoj3293
2017-10-29 20:28:16
943
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人