摘要:
#include <iostream>#include <cstdio>#include <cstring>#pragma comment(linker,"/STACK:655360000");using namespace std;const int N = 1002;int f[N], rank[N];int find(int x){ int k, r, j; r = x; while(r != f[r]) { r = f[r]; } k = x; while(k != r) { j = f[k]; ... 阅读全文
posted @ 2011-09-06 11:23
AC_Von
阅读(159)
评论(0)
推荐(0)

浙公网安备 33010602011771号