摘要: 解法 splay的基本操作加上一个区间翻转。 代码 cpp include using namespace std; const int N=1e5+5; int read() { int x=0,p=1; char ch=getchar(); while((ch'9')&&ch!=' ') ch= 阅读全文
posted @ 2019-06-01 16:20 小蒟蒻lzq 阅读(168) 评论(0) 推荐(0)
摘要: 解法 就是最普通的splay啦,直接放代码QAQ 代码 阅读全文
posted @ 2019-06-01 10:51 小蒟蒻lzq 阅读(110) 评论(0) 推荐(0)