摘要:
1.并查集操作: 1 int father[10086]; 2 int find(int x){ 3 return father[x]=(father[x]==x?x:find(father[x]));//一般都是写这个模板,因为他快,不会超时!!! 4 } 5 void Union(int a,i 阅读全文
posted @ 2020-03-08 22:14
zb121
阅读(213)
评论(0)
推荐(0)
浙公网安备 33010602011771号