I need help with a graph post

Revision en1, by GokuSSJ7, 2019-10-25 11:46:39

Given a scalar graph of n vertices and n-1 edges. Any two vertices can reach each other through the edges. For each vertex, find the shortest length from vertex 1 to all vertices divided by vertex i and then return to vertex 1 (with 1 <= i <= n) . (n<=100000)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English GokuSSJ7 2019-10-25 11:55:17 4 Tiny change: 'he edges. For each vertex, find the' -> 'he edges. \nFor each vertex i, find the'
en1 English GokuSSJ7 2019-10-25 11:46:39 289 Initial revision (published)