ZZOJ TLE
[code]#include using namespace std;const int p=13131;const long long mod=1e9+7;char s1[100005],s2[100005];long long hash1[100005],hash2[100006],pre[100005];long long n;long long idx(char ch) { return ch-'a'+1;}int main() { scanf("%lld",&n); scanf("%s",s1+1); for(long long i=1; i