摘要: Splay - POJ 3481 - Double Queue Splay模板题,实现插入、删除、前驱后继函数。加入左右哨兵可以更加方便地查询最值。 #include <bits/stdc++.h> using namespace std; const int N = 1e6+5; const in 阅读全文
posted @ 2021-02-20 16:21 popozyl 阅读(43) 评论(0) 推荐(0) 编辑