Having an undirected graph with v vertices and e edges with each edges having a non-negative weight of at most w, the task is to find(
v
e
w