You are reporting the paste Minimum spanning tree algorithm code example.