Rt,我看到题解在更新右端点的时候都是用 i+p[i]>ri + p[i] > ri+p[i]>r,但真正的右端点不是 i+p[i]−1i + p[i] - 1i+p[i]−1 吗,所以不应该是 i+p[i]−1>ri + p[i] - 1 > ri+p[i]−1>r 吗