guess the next step: Floyd-Warshall, every pair
Before each step plays, guess what it does. The page then shows the step as the run takes it and says why, the same sentence the watch page says there.
Step 25 of 56
Question 25 of 54
Step 25 of 56
Step 26 of 56
Step 27 of 56
Step 28 of 56
Step 29 of 56
Step 30 of 56
Step 31 of 56
Question 25 of 54
Question 25 of 54
Not this time.
You guessed: Going through the stop makes another way shorter.
What the run did:
Allow F as a stop on the way. For every pair of the other places, try going through F.
Question 25 of 54
Right.
You guessed: No other way gets shorter through this stop, so allow the next place.
What the run did:
Allow F as a stop on the way. For every pair of the other places, try going through F.
Question 26 of 54
Question 26 of 54
Right.
You guessed: Going through the stop makes another way shorter.
What the run did:
From A to F is 5, and from F to E is 1: 6 in all, shorter than any way found before. Write 6 for A to E.
Question 26 of 54
Not this time.
You guessed: No other way gets shorter through this stop, so allow the next place.
What the run did:
From A to F is 5, and from F to E is 1: 6 in all, shorter than any way found before. Write 6 for A to E.
Question 27 of 54
Question 27 of 54
Right.
You guessed: Going through the stop makes another way shorter.
What the run did:
From B to F is 2, and from F to A is 3: 5 in all, shorter than any way found before. Write 5 for B to A.
Question 27 of 54
Not this time.
You guessed: No other way gets shorter through this stop, so allow the next place.
What the run did:
From B to F is 2, and from F to A is 3: 5 in all, shorter than any way found before. Write 5 for B to A.
Question 28 of 54
Question 28 of 54
Right.
You guessed: Going through the stop makes another way shorter.
What the run did:
From B to F is 2, and from F to E is 1: 3 in all, shorter than any way found before. Write 3 for B to E.
Question 28 of 54
Not this time.
You guessed: No other way gets shorter through this stop, so allow the next place.
What the run did:
From B to F is 2, and from F to E is 1: 3 in all, shorter than any way found before. Write 3 for B to E.
Question 29 of 54
Question 29 of 54
Right.
You guessed: Going through the stop makes another way shorter.
What the run did:
From G to F is 5, and from F to A is 3: 8 in all, shorter than any way found before. Write 8 for G to A.
Question 29 of 54
Not this time.
You guessed: No other way gets shorter through this stop, so allow the next place.
What the run did:
From G to F is 5, and from F to A is 3: 8 in all, shorter than any way found before. Write 8 for G to A.
Question 30 of 54
Question 30 of 54
Right.
You guessed: Going through the stop makes another way shorter.
What the run did:
From G to F is 5, and from F to B is 6: 11 in all, shorter than any way found before. Write 11 for G to B.
Question 30 of 54
Not this time.
You guessed: No other way gets shorter through this stop, so allow the next place.
What the run did:
From G to F is 5, and from F to B is 6: 11 in all, shorter than any way found before. Write 11 for G to B.