摘要:
```cpp struct LeftTree{ int l,r,val,dis; }t[N]; int fa[N]; inline int Find(int x){ return x == fa[x] ? x : fa[x] = Find(fa[x]); } inline int Merge(int x, int y){ if(!x) return y; if(!y) return x; ... 阅读全文
posted @ 2019-07-14 21:53
邱涵的秘密基地
阅读(141)
评论(0)
推荐(0)
摘要:
TLE but corrct in most cases. AC with an undescriable magic. cpp inline int Find(int x){ return x == fa[x] ? x : fa[x] = Find(fa[x]); } inline int Mer 阅读全文
posted @ 2019-07-14 21:33
邱涵的秘密基地
阅读(158)
评论(0)
推荐(0)

浙公网安备 33010602011771号