hash处理字符串获得相同前缀后缀
#define ull unsigned long long
const ll maxn = 1e5 + 7;
int id(char c)
{
return c - 'a' + 1;
}
vector
hash处理字符串获得相同前缀后缀
#define ull unsigned long long
const ll maxn = 1e5 + 7;
int id(char c)
{
return c - 'a' + 1;
}
vector