摘要: 1 /* 2 题意:查询区间第K大 3 题解:主席树 4 时间: 5 */ 6 7 #include 8 using namespace std; 9 10 typedef long long LL; 11 const int MAXN = 100005; 12 const LL MOD7 = 1e9+7; 13 14 struct TreeNode 15 ... 阅读全文
posted @ 2018-07-21 21:06 LeeSongt 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 题目链接: https://www.nowcoder.com/acm/contest/133/B 阅读全文
posted @ 2018-07-21 11:53 LeeSongt 阅读(138) 评论(0) 推荐(0) 编辑