MINWALK - Minimum Cost Walk

Here is my code…

Solution link : CodeChef: Practical coding for everyone
Problem link : MINWALK Problem - CodeChef

Here i am deleting those edges which are coming more than one…

It is giving SIGSEGV
I know the other approach of min(dis[s]+dis[t]+dis[v]} but can’t find what is wrong with this code.
Help somebody…