- 博客(1)
- 收藏
- 关注
原创 Codeforces 8VC Venture Cup 2017 - Elimination Round
C. PolandBall and Forest简单并查集,把相关节点合并即可。#include <bits/stdc++.h>using namespace std;#define ll long longint p[10010]; int a[10010];int find(int x){ if(x!=p[x])p[x]=find(p[x]); return p[x]
2017-01-19 22:45:56 420
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人