12 2023 档案
摘要://洛谷https://www.luogu.com.cn/problem/P3805 int d[22000007]; //二倍长度 char s[22000007]; int k=0,len,maxn=INT_MIN; void manacher(char s[]){ //复杂度o(n) d[1]
阅读全文
摘要:单点修改--单点查询 #include <bits/stdc++.h> using namespace std; //区间查询,单点修改 int n,m; int arr[500005]; int c[500005]; #define lowbit(x) ( (x)& -(x) ) void upd
阅读全文