The solution to this problem is Direct Implementation of Dijkstra Algorithm.
I am getting WA on submission. Can anyone help me figure out what is the problem in my code.
Here is the link to my code:
Thinking
just use this line cout << fixed << setprecision(8) <<time[dest]<<endl; instead of printf.
1 Like
Still not working bro, pls help
Done, got it, thanks
Thanks dude.It worked.