版本比较
题解:P3082 [USACO13MAR] Necklace G
正文
增加 2 行删除 2 行
47 行未改动4849505152525354555624 行未改动8182838485858687888922 行未改动47 行未改动#define gc _getchar_nolock#define pc _putchar_nolock#endif#define int long long#define rint register int #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 行未改动