✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Pour afficher la longueur du plus court chemin du sommet a vers le sommet b en fin d'algorithme (Bellman-Ford ou Dijkstra), à l'aide de la variable dist, on doit: