Codechef GRTRIP

Правка en1, от _nathan_drake_, 2018-09-14 07:11:06

Can anyone provide a better editorial for this question . https://www.codechef.com/LTIME01/problems/GRTRIP

I have been trying to understand it for a week now, but I fail to understand how shortest path tree is being constructed and how it is compared with the dfs done by chef in his own algorithm.

Please help

Теги dfs and similar, #graphs, all-shortest-path, djikstra

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский _nathan_drake_ 2018-09-14 07:11:06 331 Initial revision (published)