摘要:
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=510000; const int Log=50; const int inf=2147483647; int val[N*Log],rnd[ 阅读全文
摘要:
#神仙的博客 #\(\tt notice:\) ##只有右插头和左插头可以合并,左插头和右插头只可以合并一次 #include<bits/stdc++.h> typedef long long ll; using namespace std; const int N=12; const int M= 阅读全文
摘要:
我觉得这种东西就是工程题,好像这就是Splay的唯一用途吧 神仙的博客 #include<bits/stdc++.h> #define lc(p) c[p][0] #define rc(p) c[p][1] using namespace std; const int N=310000; int f 阅读全文
摘要:
神仙的博客(还没看) #题目 ZJOI2005沼泽鳄鱼 ####就按照12为一个周期,然后转移的时候记得吧一些列删掉 #include<bits/stdc++.h> using namespace std; const int mod=10000; const int N=60; int n,m,S 阅读全文