TLE on classic dijkstra problem

Правка en1, от Byncuco, 2019-11-21 13:03:28

I tried to solve a classic probjem by using dijkstra with set, but got TLE.

I could not find out the reason why. Here is my code: Submission 65475444

Can you suggest any reasons? Thank you!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Byncuco 2019-11-21 13:03:28 330 Initial revision (published)