摘要:
![](https://img2022.cnblogs.com/blog/2511085/202204/2511085-20220404231437714-477751098.png) ![](https://img2022.cnblogs.com/blog/2511085/202204/2511085-20220404232241520-189294814.png) ![](https://im 阅读全文
摘要:
阶 #include<bits/stdc++.h> using namespace std; typedef long long LL; vector<int> pf; LL qmi(LL a, LL b, LL mod){ LL res = 1 % mod; while(b){ if(b&1) r 阅读全文
摘要:
![](https://img2022.cnblogs.com/blog/2511085/202204/2511085-20220404211843057-1438145095.png) ![](https://img2022.cnblogs.com/blog/2511085/202204/2511085-20220404212013344-924955656.png) 阅读全文
摘要:
介绍 阅读全文
摘要:
介绍 char s[N]; int n, m, x[N], y[N], c[N], rk[N], height[N], sa[N]; void get_sa(){ for(int i = 1; i <= n; i ++) c[x[i] = s[i]] ++; for(int i = 2; i <= 阅读全文