POJ1161(并查集)
摘要:1、题目链接地址 http://poj.org/problem?id=11612、源代码#include using namespace std;int parent[30001];int suspect[30001]; int find(int x){ if(parent[x] == x) ...
阅读全文
posted @ 2014-08-16 22:27
posted @ 2014-08-16 22:27
posted @ 2014-08-16 22:19
posted @ 2014-08-16 21:38
posted @ 2014-08-16 21:25
posted @ 2014-08-16 20:59