Sir doubt in dijkstras algorithm

sir if i try to compile and test for few cases then the code works fine but if i do submit it shows run time error why??
here is my code

hello @tejasddongare
wait i m checking ur code

yes sir plz do reply

image

here it should be edges

thanks Alot sir fully satisified by TA