Still Need to optimize my code for Dijkstra algo

Правка en1, от -B1nary-, 2019-10-08 13:15:31

Hello everyone, I was solving this Problem 20C - Dijkstra? and wrote a code and submitted but it gave me a TLE on test 28. Can I still improve my code's efficiency? I am not able to figure it out how to do so. Thanks.

My code
Теги #graphs, #dijkstra

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский -B1nary- 2019-10-08 13:15:31 1341 Initial revision (published)