题解里都是:
Splay(l-1, 0); Splay(r+1, l-1);
我觉得,也可以
Splay(r+1, 0); Splay(l-1, 0);
但是实际是所有点 WA,求解答,感谢!
我认为问题应该出在这里,因为改此处后可以 AC