【模板】字符串
哈希 字符串匹配 https://loj.ac/problem/103#include<cstdio>//#include<iostream>#include<cstring>#define ULL unsigned long long//using namespace std;char s[1001000],st[1001000];ULL pow[1001000],sum[1001000],b=97;int main(){ pow[0]=1; for
原创
2020-06-19 16:08:04 ·
186 阅读 ·
0 评论