Hi , i am trying to solve spoj.pl/problems/EZDIJKST using Dijsktra's algo and stl priority queue but am getting WA , not able to get what the mistake is . Even if source==destination, i o/p 0 :[bbone=cpp,469]
removed after ac[/bbone]
Thanks
any suggestions?
Your issue is incredibly obvious. Please explain your code and your reasoning for each line.
Hi. Can someone tell where is the mistake? AC.