[UVA] 11631 - Dark roads [Kruskal]
Problem D: Dark roads
Economic times these days are tough, even in Byteland. To reduce the
operating costs, the government of Byteland has decided to optimize the
road lighting. Till now every road was illuminated all night long,
which costs 1 Bytelandian Dollar per meter...