wa in spoj Cobbled streets!!!

,

hey constantly getting WA…though i have applied kruskal algorithm…plzzz help me guys.http://www.spoj.com/problems/CSTREET/ .here my code http://ideone.com/pAhcao

1 Like
//