ull gethash(string sp){ ull t; for(int i = 0; i < sp.length(); ++i) t = t*h+sp[i]-'a'; return t%mod; }
就是这个函数,输入同一个字符串,输出的返回值为什么不一样?