As DVR is same as Dijkstra algorithm, so simply make Minimum cost spanning tree and then first confirm it by manually traversing for each source to Destination to confirm that it's same as that we'll get using SSSP, as Greedy need not be Optimal, so after it just the ones not in mst will be unused.