https://www.luogu.com.cn/record/90504113
这题正解应该是线段树套Splay,但是我太蒻了不会Splay,再加上比赛题没开O2,于是用FHQ T了2个点
我要不要学个Splay