摘要: 这个思路很巧妙啊 ~ code: #include <cstdio> #include <algorithm> #define N 2050 #define ll int #define setIO(s) freopen(s".in","r",stdin) using namespace std; 阅读全文
posted @ 2019-12-19 20:48 EM-LGH 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 好神啊 ~ 打表程序: #include <cstdio> #include <cstring> #include <algorithm> #define N 140000000 #define ll long long #define mod 998244353 #define setIO(s) 阅读全文
posted @ 2019-12-19 14:07 EM-LGH 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 可持久化非旋转treap,真的是又好写又好调 ~ code: #include <cstdio> #include <cstdlib> #include <algorithm> #define N 500007 #define lson t[x].ls #define rson t[x].rs #d 阅读全文
posted @ 2019-12-19 09:44 EM-LGH 阅读(135) 评论(0) 推荐(0) 编辑