https://cses.fi/problemset/task/1195 to solve this problem I implemented dijkstra but i am getting wrong answer on test case on test case 7 and 14 .Those test cases are very big hence i am unable to debug with those test cases. Can anyone give me small test cases where my code fails,or any suggestion of why it is failing .here's my code https://pastebin.com/u08T3SJq .Thanks in advance