mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-15 01:40:49 +08:00

committed by
GitHub

parent
b8c1177bc8
commit
d1e75019a7
@ -87,7 +87,7 @@ start vertex, end vertes and weights. Vertices should be labelled with a number
|
||||
System.out.println("Negative cycle");
|
||||
break;
|
||||
}
|
||||
if (neg == 0) // Go ahead and show results of computaion
|
||||
if (neg == 0) // Go ahead and show results of computation
|
||||
{
|
||||
System.out.println("Distances are: ");
|
||||
for (i = 0; i < v; i++) System.out.println(i + " " + dist[i]);
|
||||
|
Reference in New Issue
Block a user