2024年11月24日

摘要: 1 图的基本操作 1.1 图的存储 邻接表: g[N][N] = {}; ... memset(g, 0x3f, sizeof g); g[u][v] = w; 链式前向星: int head[N] = {}; memset(head, 0x3f, sizeof head); struct edge 阅读全文
posted @ 2024-11-24 11:53 符星珞-Astralyn 阅读(34) 评论(0) 推荐(0)

导航