会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
代码附体
代码皆为linux环境, QQ:983628315
首页
新随笔
联系
订阅
管理
2020年11月27日
图的建立、存储(邻接矩阵,邻接表)
摘要: #邻接矩阵 #include <stdio.h> #include <string.h> #define MAX_N 500 typedef struct Graph { int mat[MAX_N][MAX_N]; int n; }Graph; void init(Graph *g, int le
阅读全文
posted @ 2020-11-27 03:01 代码附体
阅读(243)
评论(1)
推荐(2)
编辑
公告