摘要: #include#includeusing namespace std;const int INF = 0xffffff0;int MIN = INF;int MAX = -INF;struct Node{ int L, R; int Max, Min; i... 阅读全文
posted @ 2015-07-22 22:11 _SunDaSheng 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 超有爱讲解 点这里#includeusing namespace std;#define Size 1000int Father[Size];int Find( int n ){ while( n != Father[n] ) n = Father[n]; ... 阅读全文
posted @ 2015-07-22 09:20 _SunDaSheng 阅读(118) 评论(0) 推荐(0) 编辑