并查集
moon548834
这个作者很懒,什么都没留下…
展开
-
Is it a Tree? 并查集 坑多
A tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed edges between nodes satisfying the following properties.Th原创 2017-03-01 07:03:01 · 425 阅读 · 0 评论 -
hdu5606 tree 并查集
There is a tree(the tree is a connected graph which contains n points and n−1 edges),the points are labeled from 1 to n,which edge has a weight from 0 to 1,for every point i∈[1,n],you原创 2017-03-02 07:11:14 · 237 阅读 · 0 评论 -
hdu 3038 种类并查集How Many Answers Are Wrong
Problem DescriptionTT and FF are ... friends. Uh... very very good friends -________-bFF is a bad boy, he is always wooing TT to play the following game with him. This is a very humdrum game. To原创 2017-03-02 07:20:57 · 559 阅读 · 0 评论