From c7838cccdd9350290f3566285d7f8fed2a4cfdaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=98=8A?= <956269333@qq.com> Date: Mon, 3 Jul 2023 12:51:01 +0800 Subject: [PATCH] gdg --- 城市地铁导航系统.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/城市地铁导航系统.c b/城市地铁导航系统.c index 0b733ad..d90a32c 100644 --- a/城市地铁导航系统.c +++ b/城市地铁导航系统.c @@ -1,21 +1,16 @@ #include #include #include -#include - -#define MAX 1000 - -typedef struct node { + #define MAX 1000 + typedef struct node { char a[100]; struct node* next; }edgenode; - -struct vexnode { + struct vexnode { char name[100]; - struct node* firstnode; + edgenode* firstnode; }; - -struct list { - struct vexnode adjust[6]; + struct list { + vexnode adjust[7]; int e, n; }; \ No newline at end of file