摘要:
#include using namespace std; const int MAXN = 10000005; struct Node { int parent;//保存父节点 int rank;//以此小男孩为父节点的人数 }; Node boy[MAXN]; void init(void) { int i; for (i = 0; i cnt) cnt = boy[... 阅读全文
posted @ 2011-02-07 23:38
Cranny
阅读(295)
评论(0)
推荐(0)