
并查集
qdu_ellery
我有梦想啊!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Cube Stacking POJ - 1988 (并查集)
Farmer John and Betsy are playing a game with N (1 <= N <= 30,000)identical cubes labeled 1 through N. They start with N stacks, each containing a single cube. Farmer John asks Betsy to perform ...原创 2019-07-01 13:13:53 · 84 阅读 · 0 评论 -
Asya And Kittens(并查集)(连接)
Asya loves animals very much. Recently, she purchased n kittens, enumerated them from 1 and n and then put them into the cage. The cage consists of one row of n cells, enumerated with integers from 1 ...原创 2019-03-22 20:45:24 · 206 阅读 · 0 评论