백준 최소비용 구하기 (https://www.acmicpc.net/problem/1916)


푸는 중인데 다익스트라 나무위키 보면서 구현하고 제출하니까 6%쯤에서 막히네


뭐 빼먹은거 있나?