摘要:
题目链接 模板 #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 阅读全文
摘要:
题目链接 模板 #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) 阅读全文