1695 - 2019.5.20 電機系資料結構上機考 Scoreboard

Time

2019/05/20 18:30:00 2019/05/20 20:20:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
12260 Quiz4 (Network Planning Graph)

12260 - Quiz4 (Network Planning Graph)   

Description

Given a graph

  • Each node stands for a building
  • Node 0 stands for a video source (e.g., a Netflix server)
  • Each edge stands for a possible connection
  • Both edges and nodes (including node 0) are specified by their latency

Task

  • We wants the network to be a spanning tree
  • Find the minimum-possible latency from the video source to each building

 

 

 

Input

 

 

Output

Sample Input  Download

Sample Output  Download

Tags




Discuss