BZOJ-1208 宠物收养所

依旧是数据结构题。用Splay来维护。

支持操作:Insert Delete Pre Suf

【Code】

原文地址:https://www.cnblogs.com/NanoApe/p/4396745.html