Adaugă noduri și muchii

Muchiile și costul total