连通图 目录 *连通图* @[TOC](目录) Description Input Output Sample Input Sample Output 解析 代码 Description 判断一个图是否为一个边通图 Input n 顶点 (n<=100) 边 Output 1 表示连通 0 表示不边通 Sample Input 5 1 2 2 3 5 4 0 0 Sample Output 0 解析 本题解使用深搜(邻接矩阵),简单易解 代码 #include<stdio.h> #include<iostream> using namespace std