本质串 暴力hash
#include<bits/stdc++.h>
using namespace std;
typedef unsigned long long mm;
const int m=2e5+50;
mm l,r,t[m],a[m],b[m],zxd=10;int v[m],n,num[m],d=0,k,mmax=0;
map<pair<mm,mm>,bool>q;
inline int read(){
int x=0,f=1;
char ch=getchar(.
原创
2021-07-14 19:17:43 ·
207 阅读 ·
5 评论