Transfer Speeds Sum
A computer network has n computers and n-1 connections between two computers. Information can be exchanged between every pair of computers using the connections. Each connection has a certain transfer speed. Let d(a,b) denote the transfer speed between computers a and b, which is the speed of the slowest connection on the route between a and b. Your task is to compute the sum of transfer speeds b
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start