Dijkstra's algorithm.What is the error in this?

https://ide.codingblocks.com/s/67893

@meg.2198 there is three error in the code 1
unordered map
2
you did not declare T dest =childPair.first
3
print statement in main dijkstra algo instead of dest it will be like d.second
and last time i told that you print under while loop so avoid that thing
i have corrected your code you can refer this.

Hey Meghna,
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.