Help in Spoj Dijkstra Problem

@vishal @Prateek-Narang-10209
Sir i was trying to solve the following dijkstra problem from spoj. Sir i am able to pass the sample test cases but getting wrong answer in my code.Please help me figure out my mistake. I have modified Dijkstra to solve the problem. PLease help. Any help please …

Problem Link :— https://www.spoj.com/problems/FPOLICE/
My Solution Link :— https://ideone.com/0PAmWn