cychester

2018年8月22日

Luogu 2912 [USACO08OCT]牧场散步Pasture Walking

摘要: 快乐树剖 1 #include<cstdio> 2 #include<cstring> 3 #include<algorithm> 4 #define rd read() 5 #define lson nd << 1 6 #define rson nd << 1 | 1 7 using namesp 阅读全文

posted @ 2018-08-22 21:47 cychester 阅读(139) 评论(0) 推荐(0) 编辑

BZOJ1251 序列终结者- splay

摘要: 愉悦身心的splay 1 #include<cstdio> 2 #include<cstring> 3 #include<algorithm> 4 #define rd read() 5 #define ll long long 6 using namespace std; 7 8 const in 阅读全文

posted @ 2018-08-22 13:34 cychester 阅读(94) 评论(0) 推荐(0) 编辑

BZOJ1699: [Usaco2007 Jan]Balanced Lineup排队 - 线段树

摘要: description 查询区间最大和最小 题解 线段树 愉悦身心啊 代码 1 #include<cstring> 2 #include<cstdio> 3 #include<algorithm> 4 #define rd read() 5 #define lson nd << 1 6 #defin 阅读全文

posted @ 2018-08-22 10:31 cychester 阅读(151) 评论(0) 推荐(0) 编辑

导航