17 lines
457 B
Plaintext
17 lines
457 B
Plaintext
Enter the path costs ('0' = no path)
|
|
Enter path cost from 0 -> 1:
|
|
Enter path cost from 0 -> 2:
|
|
Enter path cost from 0 -> 3:
|
|
Enter path cost from 1 -> 0:
|
|
Enter path cost from 1 -> 2:
|
|
Enter path cost from 1 -> 3:
|
|
Enter path cost from 2 -> 0:
|
|
Enter path cost from 2 -> 1:
|
|
Enter path cost from 2 -> 3:
|
|
Enter path cost from 3 -> 0:
|
|
Enter path cost from 3 -> 1:
|
|
Enter path cost from 3 -> 2:
|
|
Distance to node 1 = 10
|
|
Distance to node 2 = 20
|
|
Distance to node 3 = 30
|