摘要: haha,今天在做这道题目得时候看到一个搞笑的题解,haha,给大家看看。题意 : 就是一个城市有两个帮会,如果不是A帮会就定是B帮会,但是一开始不清楚哪些是自己人.../* 这道题告诉我们,有什么事找老大说去。。。 还有,我是卖切糕的。。 */ # include # include using namespace std; # define N 100005 int father[N],Rank[N],opp[N]; //opp表示它的敌对势力 =。= void make_set(int n) { int i; for(i=1;iRank[b]) father[b]=... 阅读全文
posted @ 2013-08-02 15:36 cnwsycf 阅读(107) 评论(0) 推荐(0)