Need help with resolving TLE on Dijkstra.

Правка en1, от sky_full_of_stars, 2020-09-14 13:07:47

Hi All,

I was trying to solve this using Dijkstra.

Solution here.

I'm getting TLE in the last few test cases. Can someone suggest me any further optimizations I can make?

thanks! have a good day!

Теги dijkstra, #tle, needhelp

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский sky_full_of_stars 2020-09-14 13:07:47 359 Initial revision (published)