并查集
Gee_Zer
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
B - Edgy Trees CodeForces - 1139C(并查集)
C. Edgy Treestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a tree (a connected undirected graph without cycles) of n vertices...原创 2019-04-09 09:25:43 · 253 阅读 · 0 评论 -
G - Cyclic Components CodeForces - 977E (dfs or 并查集)
E. Cyclic Componentstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an undirected graph consisting of n vertices and m edges. Y...原创 2019-04-17 10:08:50 · 311 阅读 · 0 评论
分享