摘要: 题目链接 模板 #include<bits/stdc++.h> using namespace std; const int maxn=3e5+5; char s[maxn],str[maxn]; int l1,l2,p[maxn],ans; void init() { str[0]='$'; st 阅读全文
posted @ 2019-09-11 19:28 。小姜 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 题目链接 模板 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn=1e5+5; struct node { int l,r; ll sum,lazy; void update(ll x) 阅读全文
posted @ 2019-09-11 11:44 。小姜 阅读(377) 评论(0) 推荐(1) 编辑