無向有權圖的創建(鄰接鏈表法) 廣度優先搜索 深度優先搜素

/**圖的鄰接表存儲方式*/ #include<iostream> #include<cstdio> #include<string.h> #include<string> #include<queue> #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 using namespace std; #define MAX_
相關文章
相關標籤/搜索