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