摘要:
题目链接 "bzoj4196: [Noi2015]软件包管理器" 题解 看来我还没忘Qwq 一个std随便打,12 min 1A,刺激,好吧,其实很慢 题解 c++ include using namespace std; inline int read() { int x = 0,f = 1; c 阅读全文
摘要:
题目链接 "bzoj4034: [HAOI2015]树上操作" 题解 树剖线段树 代码 c++ include using namespace std; inline int read() { int x = 0,f = 1; char c = getchar(); while(c '9'){if( 阅读全文
摘要:
题目链接 "bzoj1816: [Cqoi2010]扑克牌" 题解 还是挺妙的 一套牌只能用一张Joker,那么贪心是不对的 若能够组成k套牌,那么joker一定有种方法在k套牌中出现 include include inline int read() { int x = 0,f = 1; char 阅读全文
摘要:
题目链接 "luoguP3871 [TJOI2010]中位数" 题解 平衡树 代码 c++ include include include include define LL long long inline int read() { int x = 0,f = 1;char c = getchar 阅读全文
摘要:
题目链接 "luogu P2439 [SDOI2005]阶梯教室设备利用" 题解 dp 代码 c++ include include include include define LL long long inline int read() { int x = 0,f = 1;char c = ge 阅读全文