随笔分类 -  splay

摘要:CF-E. Messenger Simulator Polycarp is a frequent user of the very popular messenger. He's chatting with his friends all the time. He has n friends, nu 阅读全文
posted @ 2020-12-19 23:07 肆之月 阅读(177) 评论(0) 推荐(0)
摘要:伸展树 多值版 #include<bits/stdc++.h> using namespace std; template<class T> inline bool read(T &x){ x=0;register char c=getchar();register bool f=0; while( 阅读全文
posted @ 2020-12-19 22:48 肆之月 阅读(122) 评论(0) 推荐(0)