# uoj207 共价大爷游长沙（lct+Hash）

#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define inf 0x3f3f3f3f
#define N 100010
#define mod 1000000007
#define pa pair<int,int>
inline char gc(){
static char buf[1<<16],*S,*T;
return *S++;
}
int x=0,f=1;char ch=gc();
while(ch<'0'||ch>'9'){if(ch=='-') f=-1;ch=gc();}
while(ch>='0'&&ch<='9') x=x*10+ch-'0',ch=gc();
return x*f;
}
int n,m,fa[N<<1],c[N<<1][2],v[N<<1],lazy[N<<1],rt,sum,owo=0,qq[N<<1];
bool rev[N<<1];map<pa,int>mp;
struct Icefox{
int x,y,val;
}S[N*3];
inline bool isroot(int x){return x!=c[fa[x]][0]&&x!=c[fa[x]][1];}
inline void rotate(int x){
int y=fa[x],z=fa[y],l=x==c[y][1],r=l^1;
if(!isroot(y)) c[z][y==c[z][1]]=x;
fa[c[x][r]]=y;fa[y]=x;fa[x]=z;
c[y][l]=c[x][r];c[x][r]=y;
}
inline void pushdown(int p){
int l=c[p][0],r=c[p][1];
if(rev[p]) rev[l]^=1,rev[r]^=1,rev[p]=0,swap(c[p][0],c[p][1]);
if(lazy[p]) lazy[l]^=lazy[p],lazy[r]^=lazy[p],v[l]^=lazy[p],v[r]^=lazy[p],lazy[p]=0;
}
inline void splay(int x){
int top=0;qq[++top]=x;
for(int xx=x;!isroot(xx);xx=fa[xx]) qq[++top]=fa[xx];
while(top) pushdown(qq[top--]);
while(!isroot(x)){
int y=fa[x],z=fa[y];
if(!isroot(y)){
if(x==c[y][1]^y==c[z][1]) rotate(x);
else rotate(y);
}rotate(x);
}
}
inline void access(int x){
int y=0;while(x){splay(x);c[x][1]=y;y=x;x=fa[x];}
}
inline void makeroot(int x){
access(x);splay(x);rev[x]^=1;
}
inline void link(int x,int y){
makeroot(x);fa[x]=y;
}
inline void cut(int x,int y){
makeroot(x);access(y);splay(y);c[y][0]=fa[x]=0;
}
inline void add(int x,int y,int val){
makeroot(x);access(y);splay(y);lazy[y]^=val;v[y]^=val;
}
inline int ask(int p){
splay(p);return v[p];
}
int main(){
//  freopen("a.in","r",stdin);
//  freopen("a.out","w",stdout);
for(int i=1;i<n;++i){
}while(m--){
if(ty==1){
int id=mp[make_pair(x,y)];mp.erase(make_pair(x,y));mp[make_pair(u,vv)]=id;
}if(ty==2){
}return 0;
}

02-23 15

04-06 13

06-08 185

02-21 887

03-07 678

02-07 8

06-26 1023

10-21 797

03-30 107

06-06 10

08-23 7

01-21 28万+

02-27 4万+

03-27 128

03-02 9472

01-06 267

02-27 7万+

02-19 17万+

03-01 12万+

02-01 263

03-04 13万+

03-08 1万+

03-05 5万+

04-14 56万+

02-19 9万+

01-28 50

03-13 14万+

02-28 4万+

03-01 11万+

03-01 1万+

03-03 2万+

05-23 4361

03-04 3956

03-08 4万+

03-08 6万+

03-08 2万+

03-08 1万+

04-25 6万+

03-10 12万+

03-10 17万+

03-12 10万+

03-13 10万+

03-19 7万+

03-22 4万+

03-23 1万+

03-23 4万+

03-24 3万+

03-25 2万+

05-08 4万+

03-25 8万+

03-26 3万+

03-27 4万+

03-29 20万+

03-29 9万+

03-30 15万+

05-21 3420

05-25 6833

03-23 1万+

04-02 4万+

05-06 2万+

04-05 1万+

04-06 1038

04-06 7万+

04-07 5万+

04-09 7万+

04-09 2万+

05-17 5663

04-09 5111

04-11 3万+

04-15 5万+

04-18 4万+

04-20 3万+

04-24 2万+

04-26 3863

04-30 7762

#### 咦，Java拆分个字符串都这么讲究

©️2019 CSDN 皮肤主题: 编程工作室 设计师: CSDN官方博客