第24062题 单选题
邻接矩阵表达的带权无向图,求顶点0到顶点3的最短距离

下面程序使用邻接矩阵表达带权无向图,邻接矩阵定义如下:

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