Asking smart math people for help!
Go to solution
Solved by Dash Lambda,
54 minutes ago, wasab said:Oh! oh! oh! I think I see what you are talking about. So I can flip all edges like this: 1/original weight.
The smallest weight will then become the largest and so when multiplying, they will becomes the greatest. Conversly largest becomes the smallest so dajiskas will work and find the smallest but actually is finding the largest. Is my logic correct?
Edit: dijkstra I mean. Damn it, I can't spell lol.
Yep! You're on the right track.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now