摘要:
以P3369 普通平衡树为例。 有旋Treap #include <bits/stdc++.h> using namespace std; const int maxn=100010,inf=2147483645; int q,opt,tot,root,x; struct treap{ int l, 阅读全文
摘要:
我直接拍手称寄。 \(\textbf{“我以为T1,T3能场切”}\) T1:Watching fire is fun. 只有10pts确实挺fun的。 一眼DP,二眼贪心,三眼DP。然后用错的DP转移方程搞了10pts,乐。 一开始打算贪心是因为$ n $给到了\(1500000\),我寻思搞个D 阅读全文