摘要: 1 /* 2 题意: 3 题解:cdq分治 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 inline int... 阅读全文
posted @ 2018-07-20 15:47 LeeSongt 阅读(155) 评论(0) 推荐(0)
摘要: 1 /* 2 题意:n,m 8 using namespace std; 9 10 typedef long long LL; 11 const int MAXN = 100005; 12 const LL MOD7 = 1e9+7; 13 14 struct Node 15 { 16 int l,r; 17 int idx; 18 }Q... 阅读全文
posted @ 2018-07-20 11:08 LeeSongt 阅读(169) 评论(0) 推荐(0)