第21351题 单选题
求给定邻接矩阵的带权无向图中顶点0到顶点3的最短距离

给定4顶点带权无向图的邻接矩阵如下,求从顶点0到顶点3的最短距离:

int weight[4][4] = {{ 0, 5, 8, 10},{ 5, 0, 1, 7},{ 8, 1, 0, 3},{10, 7, 3, 0}};
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析