c/c++ Dijkstra算法實現

#include<stdlib.h> #include<stdio.h> #include <iostream> #include<stack> #include<string.h> #define M 100 #define N 100 //結構體一個圖 typedef struct node { int matrix[N][M]; //鄰接矩陣 int n;
相關文章
相關標籤/搜索