为什么我把88pts的ull自然溢出代码改成ll并且对一个脸滚键盘的模数取模就过了
另外,为什么我哈希的时候将h1[u]=get_h1(lc[u])*P1%mod+w[u]%mod+get_h1(rc[u])*P2%mod; 改成 h1[u]=get_h1(lc[u])*P1%mod+w[u]*P3%mod+get_h1(rc[u])*P2%mod;//多了一个*P3%mod
h1[u]=get_h1(lc[u])*P1%mod+w[u]%mod+get_h1(rc[u])*P2%mod;
h1[u]=get_h1(lc[u])*P1%mod+w[u]*P3%mod+get_h1(rc[u])*P2%mod;
就过了?不加这个会有什么问题吗