dijkstra's algorithm problems--getting tle

Revision en2, by typing_singh, 2020-08-06 18:14:14

https://cses.fi/problemset/task/1671/

I m getting tle in only 2 test cases of this problem. here's my code link--

https://ideone.com/SEcRXD

need help!!****

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English typing_singh 2020-08-06 18:14:14 1035
en1 English typing_singh 2020-08-06 18:12:33 1228 Initial revision (published)