|
求连通分量 Time Limit:1000MS Memory Limit:65536K Description 求一个图的连通分量 Input n 顶点数(<=100) Output 连通分量 Sample Input
5
1 2
3 4
2 3
0 0
Sample Output
4
Source elba var |
求连通分量
最新推荐文章于 2025-10-11 08:15:00 发布
|
求连通分量 Time Limit:1000MS Memory Limit:65536K Description 求一个图的连通分量 Input n 顶点数(<=100) Output 连通分量 Sample Input
5
1 2
3 4
2 3
0 0
Sample Output
4
Source elba var |

被折叠的 条评论
为什么被折叠?