摘要:        
我靠,怎么过不了,不行 明天继续debug 明明过样例了 我的天。。。。次奥,打错了一个代码半天没找出来!!!哭啊。。这里记一下,kruskal是无环图。先贴挫代码:#include#include#include#include#define maxn 10005using namespace s...    阅读全文
posted @ 2013-04-19 21:29
amourjun
阅读(114)
评论(0)
推荐(0)
        
            
        
        
摘要:        
我去,博客来大姨妈了,明明保存了的复习一下并查集,之前做的是与其他方法一起运用的。这样更加清晰。周末总结一下,明天还有队内比赛的说。纯纯的模板代码:#includeusing namespace std;int p[1011];int find(int x){ if(x!=p[x]) ...    阅读全文
posted @ 2013-04-19 21:27
amourjun
阅读(148)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号