From 0249bf6406b0ac98178c19b7eafeefc816bc9d47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=B1=9F=E6=A5=A0?= <87896121@qq.com> Date: Mon, 3 Jul 2023 13:10:02 +0800 Subject: [PATCH] 2 --- 城市地铁导航系统.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/城市地铁导航系统.c b/城市地铁导航系统.c index 9a1cd72..f11feb6 100644 --- a/城市地铁导航系统.c +++ b/城市地铁导航系统.c @@ -13,4 +13,32 @@ typedef struct { vexnode adjust[7]; int e, n; +} +void createjz(){//创建邻接矩阵函数 + edgenode *p; + aaa(); + int i; + for(i=0;ia,nm.adjust[h].name)) break; + cont[i][h]=1; + p=p->next; + } + } +} + void print() { + edgenode* p; + int i; + for(i=0;i[%s]",p->a); + p=p->next; + } + printf("\n"); + } } \ No newline at end of file