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 37 of 56
Question 37 of 54
Step 37 of 56
Step 38 of 56
Step 39 of 56
Step 40 of 56
Step 41 of 56
Step 42 of 56
Step 43 of 56
Question 37 of 54
Question 37 of 54
Right.
You guessed: Going through the stop makes another way shorter.
What the run did:
From H to G is 2, and from G to E is 6: 8 in all, shorter than any way found before. Write 8 for H to E.
Question 37 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 H to G is 2, and from G to E is 6: 8 in all, shorter than any way found before. Write 8 for H to E.
Question 38 of 54
Question 38 of 54
Right.
You guessed: Going through the stop makes another way shorter.
What the run did:
From H to G is 2, and from G to F is 5: 7 in all, shorter than any way found before. Write 7 for H to F.
Question 38 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 H to G is 2, and from G to F is 5: 7 in all, shorter than any way found before. Write 7 for H to F.
Question 39 of 54
Question 39 of 54
Not this time.
You guessed: Going through the stop makes another way shorter.
What the run did:
Allow H as a stop on the way. For every pair of the other places, try going through H.
Question 39 of 54
Right.
You guessed: No other way gets shorter through this stop, so allow the next place.
What the run did:
Allow H as a stop on the way. For every pair of the other places, try going through H.
Question 40 of 54
Question 40 of 54
Right.
You guessed: Going through the stop makes another way shorter.
What the run did:
From A to H is 12, and from H to G is 2: 14 in all, shorter than any way found before. Write 14 for A to G.
Question 40 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 H is 12, and from H to G is 2: 14 in all, shorter than any way found before. Write 14 for A to G.
Question 41 of 54
Question 41 of 54
Right.
You guessed: Going through the stop makes another way shorter.
What the run did:
From B to H is 9, and from H to G is 2: 11 in all, shorter than any way found before. Write 11 for B to G.
Question 41 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 H is 9, and from H to G is 2: 11 in all, shorter than any way found before. Write 11 for B to G.
Question 42 of 54
Question 42 of 54
Right.
You guessed: Going through the stop makes another way shorter.
What the run did:
From C to H is 5, and from H to A is 10: 15 in all, shorter than any way found before. Write 15 for C to A.
Question 42 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 C to H is 5, and from H to A is 10: 15 in all, shorter than any way found before. Write 15 for C to A.