https://www.luogu.com.cn/problem/solution/P6492
这个第一篇题解讲的,为什么是前缀区间不等于区间长度时候,就要继承左子的前缀呢?右子不用考虑吗,没想明白,希望大佬看看