正文
增加 2 行删除 2 行
47 行未改动48495051525354555624 行未改动81828384858687888922 行未改动47 行未改动#define gc _getchar_nolock#define pc _putchar_nolock#endif#define int long long#define rint register int#define R register#define _ read<int>()template<class T>inline T read(){24 行未改动{while(j>0&&M[i]!=M[j+1]) j=nxt[j];if(M[i]==M[j+1]) j++;nxt[i]=j;}for(rint i=0;i<=m;i++)//求出nxtc{for(rint j=0;j<26;j++)//枚举字符{22 行未改动47 行未改动48495051525354555624 行未改动81828384858687888922 行未改动47 行未改动#define gc _getchar_nolock#define pc _putchar_nolock#endif#define int long long#define rint register int#define R register#define _ read<int>()template<class T>inline T read(){24 行未改动{while(j>0&&M[i]!=M[j+1]) j=nxt[j];if(M[i]==M[j+1]) j++;nxt[i]=j;}for(rint i=0;i<=m;i++)//求出nxtc{for(rint j=0;j<26;j++)//枚举字符{22 行未改动