依旧是数据结构题。用Splay来维护。 支持操作:Insert Delete Pre Suf 【Code】 转载于:https://www.cnblogs.com/NanoApe/p/4396745.html