摘要: 题意 "题目链接" Sol 直接拿vector维护每种颜色的出现位置,然后二分一下。 cpp include using namespace std; const int MAXN = 3e5 + 10; inline int read() { char c = getchar(); int x = 阅读全文
posted @ 2018-12-07 12:55 自为风月马前卒 阅读(417) 评论(0) 推荐(0) 编辑
摘要: 题意 "题目链接" Sol "杜教筛" 板子题。。 include define LL long long using namespace std; const int MAXN = 1e7 + 10; inline int read() { char c = getchar(); int x = 阅读全文
posted @ 2018-12-07 11:01 自为风月马前卒 阅读(303) 评论(2) 推荐(0) 编辑
摘要: 题意 "题目链接" Sol 紫色的线段树板子题??。。。 阅读全文
posted @ 2018-12-07 08:09 自为风月马前卒 阅读(380) 评论(0) 推荐(1) 编辑

Contact with me