used priority queue but not working properly please help
What kind of error are you getting? and bro, one error that I spotted was in line 8 vector<vector >vec(m+1); vector size should be n+1 as nodes are from 1 to n.
1 Like
is your code working properly now? or it was something else
what u pointed out was the only mistake
wow man… you have became a nice bug finder now a days
@ss547
Thanks!!! for the compliment 
1 Like